Interface Environment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Environment.Builder,Environment>,SdkBuilder<Environment.Builder,Environment>,SdkPojo
- Enclosing class:
- Environment
public static interface Environment.Builder extends SdkPojo, CopyableBuilder<Environment.Builder,Environment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Environment.Builderarn(String arn)The Amazon Resource Name (ARN) of the environment.Environment.BuildercodebuildRoleArn(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.BuildercomponentRoleArn(String componentRoleArn)The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment.Environment.BuildercreatedAt(Instant createdAt)The time when the environment was created.Environment.BuilderdeploymentStatus(String deploymentStatus)The environment deployment status.Environment.BuilderdeploymentStatus(DeploymentStatus deploymentStatus)The environment deployment status.Environment.BuilderdeploymentStatusMessage(String deploymentStatusMessage)An environment deployment status message.Environment.Builderdescription(String description)The description of the environment.Environment.BuilderenvironmentAccountConnectionId(String environmentAccountConnectionId)The ID of the environment account connection that's used to provision infrastructure resources in an environment account.Environment.BuilderenvironmentAccountId(String environmentAccountId)The ID of the environment account that the environment infrastructure resources are provisioned in.Environment.BuilderlastAttemptedDeploymentId(String lastAttemptedDeploymentId)The ID of the last attempted deployment of this environment.Environment.BuilderlastDeploymentAttemptedAt(Instant lastDeploymentAttemptedAt)The time when a deployment of the environment was last attempted.Environment.BuilderlastDeploymentSucceededAt(Instant lastDeploymentSucceededAt)The time when the environment was last deployed successfully.Environment.BuilderlastSucceededDeploymentId(String lastSucceededDeploymentId)The ID of the last successful deployment of this environment.Environment.Buildername(String name)The name of the environment.Environment.BuilderprotonServiceRoleArn(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.Builderprovisioning(String provisioning)When included, indicates that the environment template is for customer provisioned and managed infrastructure.Environment.Builderprovisioning(Provisioning provisioning)When included, indicates that the environment template is for customer provisioned and managed infrastructure.default Environment.BuilderprovisioningRepository(Consumer<RepositoryBranch.Builder> provisioningRepository)The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.Environment.BuilderprovisioningRepository(RepositoryBranch provisioningRepository)The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.Environment.Builderspec(String spec)The environment spec.Environment.BuildertemplateMajorVersion(String templateMajorVersion)The major version of the environment template.Environment.BuildertemplateMinorVersion(String templateMinorVersion)The minor version of the environment template.Environment.BuildertemplateName(String templateName)The Amazon Resource Name (ARN) of the environment template.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
Environment.Builder arn(String arn)
The Amazon Resource Name (ARN) of the environment.
- Parameters:
arn- The Amazon Resource Name (ARN) of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codebuildRoleArn
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.
- Parameters:
codebuildRoleArn- The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentRoleArn
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
componentRoleArnto allow directly defined components to be associated with the environment.For more information about components, see Proton components in the Proton User Guide.
- Parameters:
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
componentRoleArnto allow directly defined components to be associated with the environment.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Environment.Builder createdAt(Instant createdAt)
The time when the environment was created.
- Parameters:
createdAt- The time when the environment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatus
Environment.Builder deploymentStatus(String deploymentStatus)
The environment deployment status.
- Parameters:
deploymentStatus- The environment deployment status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentStatus,DeploymentStatus
-
deploymentStatus
Environment.Builder deploymentStatus(DeploymentStatus deploymentStatus)
The environment deployment status.
- Parameters:
deploymentStatus- The environment deployment status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentStatus,DeploymentStatus
-
deploymentStatusMessage
Environment.Builder deploymentStatusMessage(String deploymentStatusMessage)
An environment deployment status message.
- Parameters:
deploymentStatusMessage- An environment deployment status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Environment.Builder description(String description)
The description of the environment.
- Parameters:
description- The description of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentAccountConnectionId
Environment.Builder environmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
- Parameters:
environmentAccountConnectionId- The ID of the environment account connection that's used to provision infrastructure resources in an environment account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentAccountId
Environment.Builder environmentAccountId(String environmentAccountId)
The ID of the environment account that the environment infrastructure resources are provisioned in.
- Parameters:
environmentAccountId- The ID of the environment account that the environment infrastructure resources are provisioned in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAttemptedDeploymentId
Environment.Builder lastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this environment.
- Parameters:
lastAttemptedDeploymentId- The ID of the last attempted deployment of this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastDeploymentAttemptedAt
Environment.Builder lastDeploymentAttemptedAt(Instant lastDeploymentAttemptedAt)
The time when a deployment of the environment was last attempted.
- Parameters:
lastDeploymentAttemptedAt- The time when a deployment of the environment was last attempted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastDeploymentSucceededAt
Environment.Builder lastDeploymentSucceededAt(Instant lastDeploymentSucceededAt)
The time when the environment was last deployed successfully.
- Parameters:
lastDeploymentSucceededAt- The time when the environment was last deployed successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSucceededDeploymentId
Environment.Builder lastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this environment.
- Parameters:
lastSucceededDeploymentId- The ID of the last successful deployment of this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Environment.Builder name(String name)
The name of the environment.
- Parameters:
name- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protonServiceRoleArn
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.
- Parameters:
protonServiceRoleArn- The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioning
Environment.Builder provisioning(String provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
- Parameters:
provisioning- When included, indicates that the environment template is for customer provisioned and managed infrastructure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Provisioning,Provisioning
-
provisioning
Environment.Builder provisioning(Provisioning provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
- Parameters:
provisioning- When included, indicates that the environment template is for customer provisioned and managed infrastructure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Provisioning,Provisioning
-
provisioningRepository
Environment.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioningRepository
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.Builderavoiding the need to create one manually viaRepositoryBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovisioningRepository(RepositoryBranch).- Parameters:
provisioningRepository- a consumer that will call methods onRepositoryBranch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provisioningRepository(RepositoryBranch)
-
spec
Environment.Builder spec(String spec)
The environment spec.
- Parameters:
spec- The environment spec.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateMajorVersion
Environment.Builder templateMajorVersion(String templateMajorVersion)
The major version of the environment template.
- Parameters:
templateMajorVersion- The major version of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateMinorVersion
Environment.Builder templateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
- Parameters:
templateMinorVersion- The minor version of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
Environment.Builder templateName(String templateName)
The Amazon Resource Name (ARN) of the environment template.
- Parameters:
templateName- The Amazon Resource Name (ARN) of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-