Tabnine Logo
GoogleCanaryAccount.setBucket
Code IndexAdd Tabnine to your IDE (free)

How to use
setBucket
method
in
com.netflix.spinnaker.halyard.config.model.v1.canary.google.GoogleCanaryAccount

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

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;
}
origin: spinnaker/halyard

 @Override
 protected AbstractCanaryAccount editAccount(GoogleCanaryAccount account) {
  account.setProject(isSet(project) ? project : account.getProject());
  account.setJsonPath(isSet(jsonPath) ? jsonPath : account.getJsonPath());
  account.setBucket(isSet(bucket) ? bucket : account.getBucket());
  account.setRootFolder(isSet(rootFolder) ? rootFolder : account.getRootFolder());
  account.setBucketLocation(isSet(bucketLocation) ? bucketLocation : account.getBucketLocation());

  return account;
 }
}
origin: com.netflix.spinnaker.halyard/halyard-cli

 @Override
 protected AbstractCanaryAccount editAccount(GoogleCanaryAccount account) {
  account.setProject(isSet(project) ? project : account.getProject());
  account.setJsonPath(isSet(jsonPath) ? jsonPath : account.getJsonPath());
  account.setBucket(isSet(bucket) ? bucket : account.getBucket());
  account.setRootFolder(isSet(rootFolder) ? rootFolder : account.getRootFolder());
  account.setBucketLocation(isSet(bucketLocation) ? bucketLocation : account.getBucketLocation());

  return account;
 }
}
com.netflix.spinnaker.halyard.config.model.v1.canary.googleGoogleCanaryAccountsetBucket

Popular methods of GoogleCanaryAccount

  • getBucket
  • getJsonPath
  • getProject
  • getBucketLocation
  • getRootFolder
  • <init>
  • getName
  • getNamedAccountCredentials
  • getSupportedTypes
  • setBucketLocation
  • setJsonPath
  • setName
  • setJsonPath,
  • setName,
  • setProject,
  • setRootFolder

Popular in Java

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • CodeWhisperer alternatives
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