Tabnine Logo
GoogleCanaryAccount.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.netflix.spinnaker.halyard.config.model.v1.canary.google.GoogleCanaryAccount
constructor

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.canary.google.GoogleCanaryAccount.<init> (Showing top 4 results out of 315)

origin: com.netflix.spinnaker.halyard/halyard-cli

 @Override
 protected AbstractCanaryAccount emptyAccount() {
  return new GoogleCanaryAccount();
 }
}
origin: spinnaker/halyard

 @Override
 protected AbstractCanaryAccount emptyAccount() {
  return new GoogleCanaryAccount();
 }
}
origin: spinnaker/halyard

@Override
protected AbstractCanaryAccount buildAccount(Canary canary, String accountName) {
 GoogleCanaryAccount account = (GoogleCanaryAccount)new GoogleCanaryAccount().setName(accountName);
 account.setProject(project).setJsonPath(jsonPath);
 account.setBucket(bucket).setBucketLocation(bucketLocation);
 account.setRootFolder(isSet(rootFolder) ? rootFolder : account.getRootFolder());
 GoogleCanaryServiceIntegration googleCanaryServiceIntegration =
   (GoogleCanaryServiceIntegration)CanaryUtils.getServiceIntegrationByClass(canary, GoogleCanaryServiceIntegration.class);
 if (googleCanaryServiceIntegration.isStackdriverEnabled()) {
  account.getSupportedTypes().add(AbstractCanaryServiceIntegration.SupportedTypes.METRICS_STORE);
 }
 if (googleCanaryServiceIntegration.isGcsEnabled()) {
  account.getSupportedTypes().add(AbstractCanaryServiceIntegration.SupportedTypes.CONFIGURATION_STORE);
  account.getSupportedTypes().add(AbstractCanaryServiceIntegration.SupportedTypes.OBJECT_STORE);
 }
 return account;
}
origin: com.netflix.spinnaker.halyard/halyard-cli

@Override
protected AbstractCanaryAccount buildAccount(Canary canary, String accountName) {
 GoogleCanaryAccount account = (GoogleCanaryAccount)new GoogleCanaryAccount().setName(accountName);
 account.setProject(project).setJsonPath(jsonPath);
 account.setBucket(bucket).setBucketLocation(bucketLocation);
 account.setRootFolder(isSet(rootFolder) ? rootFolder : account.getRootFolder());
 GoogleCanaryServiceIntegration googleCanaryServiceIntegration =
   (GoogleCanaryServiceIntegration)CanaryUtils.getServiceIntegrationByClass(canary, GoogleCanaryServiceIntegration.class);
 if (googleCanaryServiceIntegration.isStackdriverEnabled()) {
  account.getSupportedTypes().add(AbstractCanaryServiceIntegration.SupportedTypes.METRICS_STORE);
 }
 if (googleCanaryServiceIntegration.isGcsEnabled()) {
  account.getSupportedTypes().add(AbstractCanaryServiceIntegration.SupportedTypes.CONFIGURATION_STORE);
  account.getSupportedTypes().add(AbstractCanaryServiceIntegration.SupportedTypes.OBJECT_STORE);
 }
 return account;
}
com.netflix.spinnaker.halyard.config.model.v1.canary.googleGoogleCanaryAccount<init>

Popular methods of GoogleCanaryAccount

  • getBucket
  • getJsonPath
  • getProject
  • getBucketLocation
  • getRootFolder
  • getName
  • getNamedAccountCredentials
  • getSupportedTypes
  • setBucket
  • setBucketLocation
  • setJsonPath
  • setName
  • setJsonPath,
  • setName,
  • setProject,
  • setRootFolder

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now