public static interface Environment.Builder extends SdkPojo, CopyableBuilder<Environment.Builder,Environment>
| Modifier and Type | Method and Description |
|---|---|
Environment.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
Environment.Builder |
codebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
Environment.Builder |
componentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
Environment.Builder |
createdAt(Instant createdAt)
The time when the environment was created.
|
Environment.Builder |
deploymentStatus(DeploymentStatus deploymentStatus)
The environment deployment status.
|
Environment.Builder |
deploymentStatus(String deploymentStatus)
The environment deployment status.
|
Environment.Builder |
deploymentStatusMessage(String deploymentStatusMessage)
An environment deployment status message.
|
Environment.Builder |
description(String description)
The description of the environment.
|
Environment.Builder |
environmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that's used to provision infrastructure resources in an
environment account.
|
Environment.Builder |
environmentAccountId(String environmentAccountId)
The ID of the environment account that the environment infrastructure resources are provisioned in.
|
Environment.Builder |
lastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this environment.
|
Environment.Builder |
lastDeploymentAttemptedAt(Instant lastDeploymentAttemptedAt)
The time when a deployment of the environment was last attempted.
|
Environment.Builder |
lastDeploymentSucceededAt(Instant lastDeploymentSucceededAt)
The time when the environment was last deployed successfully.
|
Environment.Builder |
lastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this environment.
|
Environment.Builder |
name(String name)
The name of the environment.
|
Environment.Builder |
protonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services
on your behalf.
|
Environment.Builder |
provisioning(Provisioning provisioning)
When included, indicates that the environment template is for customer provisioned and managed
infrastructure.
|
Environment.Builder |
provisioning(String provisioning)
When included, indicates that the environment template is for customer provisioned and managed
infrastructure.
|
default Environment.Builder |
provisioningRepository(Consumer<RepositoryBranch.Builder> provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning.
|
Environment.Builder |
provisioningRepository(RepositoryBranch provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning.
|
Environment.Builder |
spec(String spec)
The environment spec.
|
Environment.Builder |
templateMajorVersion(String templateMajorVersion)
The major version of the environment template.
|
Environment.Builder |
templateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
|
Environment.Builder |
templateName(String templateName)
The Amazon Resource Name (ARN) of the environment template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEnvironment.Builder arn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn - The Amazon Resource Name (ARN) of the environment.Environment.Builder codebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
codebuildRoleArn - The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure
using CodeBuild-based provisioning on your behalf.Environment.Builder componentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn to allow directly defined components to be
associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
componentRoleArn - The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly
defined components in this environment. It determines the scope of infrastructure that a component can
provision.
The environment must have a componentRoleArn to allow directly defined components to be
associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
Environment.Builder createdAt(Instant createdAt)
The time when the environment was created.
createdAt - The time when the environment was created.Environment.Builder deploymentStatus(String deploymentStatus)
The environment deployment status.
deploymentStatus - The environment deployment status.DeploymentStatus,
DeploymentStatusEnvironment.Builder deploymentStatus(DeploymentStatus deploymentStatus)
The environment deployment status.
deploymentStatus - The environment deployment status.DeploymentStatus,
DeploymentStatusEnvironment.Builder deploymentStatusMessage(String deploymentStatusMessage)
An environment deployment status message.
deploymentStatusMessage - An environment deployment status message.Environment.Builder description(String description)
The description of the environment.
description - The description of the environment.Environment.Builder environmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
environmentAccountConnectionId - The ID of the environment account connection that's used to provision infrastructure resources in an
environment account.Environment.Builder environmentAccountId(String environmentAccountId)
The ID of the environment account that the environment infrastructure resources are provisioned in.
environmentAccountId - The ID of the environment account that the environment infrastructure resources are provisioned in.Environment.Builder lastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this environment.
lastAttemptedDeploymentId - The ID of the last attempted deployment of this environment.Environment.Builder lastDeploymentAttemptedAt(Instant lastDeploymentAttemptedAt)
The time when a deployment of the environment was last attempted.
lastDeploymentAttemptedAt - The time when a deployment of the environment was last attempted.Environment.Builder lastDeploymentSucceededAt(Instant lastDeploymentSucceededAt)
The time when the environment was last deployed successfully.
lastDeploymentSucceededAt - The time when the environment was last deployed successfully.Environment.Builder lastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this environment.
lastSucceededDeploymentId - The ID of the last successful deployment of this environment.Environment.Builder name(String name)
The name of the environment.
name - The name of the environment.Environment.Builder protonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
protonServiceRoleArn - The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other
services on your behalf.Environment.Builder provisioning(String provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
provisioning - When included, indicates that the environment template is for customer provisioned and managed
infrastructure.Provisioning,
ProvisioningEnvironment.Builder provisioning(Provisioning provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
provisioning - When included, indicates that the environment template is for customer provisioned and managed
infrastructure.Provisioning,
ProvisioningEnvironment.Builder provisioningRepository(RepositoryBranch provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
provisioningRepository - The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning. A linked repository is a repository that has been registered with Proton. For more
information, see CreateRepository.default Environment.Builder provisioningRepository(Consumer<RepositoryBranch.Builder> provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. 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 theRepositoryBranch.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 provisioningRepository(RepositoryBranch).
provisioningRepository - a consumer that will call methods on RepositoryBranch.BuilderprovisioningRepository(RepositoryBranch)Environment.Builder spec(String spec)
The environment spec.
spec - The environment spec.Environment.Builder templateMajorVersion(String templateMajorVersion)
The major version of the environment template.
templateMajorVersion - The major version of the environment template.Environment.Builder templateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
templateMinorVersion - The minor version of the environment template.Environment.Builder templateName(String templateName)
The Amazon Resource Name (ARN) of the environment template.
templateName - The Amazon Resource Name (ARN) of the environment template.Copyright © 2023. All rights reserved.