Tabnine Logo
AwsProvider.getPrimaryAccount
Code IndexAdd Tabnine to your IDE (free)

How to use
getPrimaryAccount
method
in
com.netflix.spinnaker.halyard.config.model.v1.providers.aws.AwsProvider

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.providers.aws.AwsProvider.getPrimaryAccount (Showing top 4 results out of 315)

origin: spinnaker/halyard

bindings.put("aws.default.account", awsProvider.getPrimaryAccount());
if (awsProvider.getPrimaryAccount() != null) {
 AwsAccount awsAccount = (AwsAccount) accountService.getProviderAccount(deploymentConfiguration.getName(), "aws", awsProvider.getPrimaryAccount());
 List<AwsProvider.AwsRegion> regionList = awsAccount.getRegions();
 if (!regionList.isEmpty() && regionList.get(0) != null) {
origin: com.netflix.spinnaker.halyard/halyard-deploy

bindings.put("aws.default.account", awsProvider.getPrimaryAccount());
if (awsProvider.getPrimaryAccount() != null) {
 AwsAccount awsAccount = (AwsAccount) accountService.getProviderAccount(deploymentConfiguration.getName(), "aws", awsProvider.getPrimaryAccount());
 AwsProvider.AwsRegion firstRegion = awsAccount.getRegions().get(0);
 if (firstRegion != null) {
origin: com.netflix.spinnaker.halyard/halyard-deploy

 @Override
 protected void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
  super.setProfile(profile, deploymentConfiguration, endpoints);
  profile.appendContents(profile.getBaseContents());

  AwsProvider awsProvider = deploymentConfiguration.getProviders().getAws();
  if (awsProvider.isEnabled()) {
   profile.appendContents("default.bake.account: " + awsProvider.getPrimaryAccount());
   profile.appendContents("default.securityGroups: ");
   profile.appendContents("default.vpc.securityGroups: ");
  }

  String pipelineTemplates = Boolean.toString(deploymentConfiguration.getFeatures().getPipelineTemplates() != null ? deploymentConfiguration.getFeatures().getPipelineTemplates() : false);
  profile.appendContents("pipelineTemplates.enabled: " + pipelineTemplates);
  // For backward compatibility
  profile.appendContents("pipelineTemplate.enabled: " + pipelineTemplates);
 }
}
origin: spinnaker/halyard

@Override
protected void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
 super.setProfile(profile, deploymentConfiguration, endpoints);
 profile.appendContents(profile.getBaseContents());
 AwsProvider awsProvider = deploymentConfiguration.getProviders().getAws();
 if (awsProvider.isEnabled()) {
  profile.appendContents("default.bake.account: " + awsProvider.getPrimaryAccount());
  profile.appendContents("default.securityGroups: ");
  profile.appendContents("default.vpc.securityGroups: ");
 }
 Webhook webhook = deploymentConfiguration.getWebhook();
 List<String> files = backupRequiredFiles(webhook, deploymentConfiguration.getName());
 profile.setRequiredFiles(files);
 profile.appendContents(yamlToString(new WebhookWrapper(webhook)));
 String pipelineTemplates = Boolean.toString(deploymentConfiguration.getFeatures().getPipelineTemplates() != null ? deploymentConfiguration.getFeatures().getPipelineTemplates() : false);
 profile.appendContents("pipelineTemplates.enabled: " + pipelineTemplates);
 // For backward compatibility
 profile.appendContents("pipelineTemplate.enabled: " + pipelineTemplates);
}
com.netflix.spinnaker.halyard.config.model.v1.providers.awsAwsProvidergetPrimaryAccount

Popular methods of AwsProvider

  • getAccessKeyId
  • getSecretAccessKey
  • isEnabled
  • setAccessKeyId
  • setSecretAccessKey

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • putExtra (Intent)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Notification (javax.management)
  • JOptionPane (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for Android Studio
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