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

How to use
setJsonPath
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.setJsonPath (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.googleGoogleCanaryAccountsetJsonPath

Popular methods of GoogleCanaryAccount

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

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Github Copilot 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