Interface AccountSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AccountSettings.Builder,AccountSettings>, SdkBuilder<AccountSettings.Builder,AccountSettings>, SdkPojo
Enclosing class:
AccountSettings

public static interface AccountSettings.Builder extends SdkPojo, CopyableBuilder<AccountSettings.Builder,AccountSettings>
  • Method Details

    • pipelineCodebuildRoleArn

      AccountSettings.Builder pipelineCodebuildRoleArn(String pipelineCodebuildRoleArn)

      The Amazon Resource Name (ARN) of the service role that Proton uses for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.

      Parameters:
      pipelineCodebuildRoleArn - The Amazon Resource Name (ARN) of the service role that Proton uses for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pipelineProvisioningRepository

      AccountSettings.Builder pipelineProvisioningRepository(RepositoryBranch pipelineProvisioningRepository)

      The linked repository for pipeline provisioning. Required if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

      Parameters:
      pipelineProvisioningRepository - The linked repository for pipeline provisioning. Required if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pipelineProvisioningRepository

      default AccountSettings.Builder pipelineProvisioningRepository(Consumer<RepositoryBranch.Builder> pipelineProvisioningRepository)

      The linked repository for pipeline provisioning. Required if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

      This is a convenience method that creates an instance of the RepositoryBranch.Builder avoiding the need to create one manually via RepositoryBranch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pipelineProvisioningRepository(RepositoryBranch).

      Parameters:
      pipelineProvisioningRepository - a consumer that will call methods on RepositoryBranch.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pipelineServiceRoleArn

      AccountSettings.Builder pipelineServiceRoleArn(String pipelineServiceRoleArn)

      The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.

      Parameters:
      pipelineServiceRoleArn - The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.