Interface EnvironmentAccountConnection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentAccountConnection.Builder,EnvironmentAccountConnection>,SdkBuilder<EnvironmentAccountConnection.Builder,EnvironmentAccountConnection>,SdkPojo
- Enclosing class:
- EnvironmentAccountConnection
public static interface EnvironmentAccountConnection.Builder extends SdkPojo, CopyableBuilder<EnvironmentAccountConnection.Builder,EnvironmentAccountConnection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnvironmentAccountConnection.Builderarn(String arn)The Amazon Resource Name (ARN) of the environment account connection.EnvironmentAccountConnection.BuildercodebuildRoleArn(String codebuildRoleArn)The Amazon Resource Name (ARN) of an IAM service role in the environment account.EnvironmentAccountConnection.BuildercomponentRoleArn(String componentRoleArn)The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account.EnvironmentAccountConnection.BuilderenvironmentAccountId(String environmentAccountId)The environment account that's connected to the environment account connection.EnvironmentAccountConnection.BuilderenvironmentName(String environmentName)The name of the environment that's associated with the environment account connection.EnvironmentAccountConnection.Builderid(String id)The ID of the environment account connection.EnvironmentAccountConnection.BuilderlastModifiedAt(Instant lastModifiedAt)The time when the environment account connection was last modified.EnvironmentAccountConnection.BuildermanagementAccountId(String managementAccountId)The ID of the management account that's connected to the environment account connection.EnvironmentAccountConnection.BuilderrequestedAt(Instant requestedAt)The time when the environment account connection request was made.EnvironmentAccountConnection.BuilderroleArn(String roleArn)The IAM service role that's associated with the environment account connection.EnvironmentAccountConnection.Builderstatus(String status)The status of the environment account connection.EnvironmentAccountConnection.Builderstatus(EnvironmentAccountConnectionStatus status)The status of the environment account connection.-
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
EnvironmentAccountConnection.Builder arn(String arn)
The Amazon Resource Name (ARN) of the environment account connection.
- Parameters:
arn- The Amazon Resource Name (ARN) of the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codebuildRoleArn
EnvironmentAccountConnection.Builder codebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- Parameters:
codebuildRoleArn- The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentRoleArn
EnvironmentAccountConnection.Builder componentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a
componentRoleArnto allow directly defined components to be associated with any environments running in the account.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 the associated environment account. It determines the scope of infrastructure that a component can provision in the account.The environment account connection must have a
componentRoleArnto allow directly defined components to be associated with any environments running in the account.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.
-
environmentAccountId
EnvironmentAccountConnection.Builder environmentAccountId(String environmentAccountId)
The environment account that's connected to the environment account connection.
- Parameters:
environmentAccountId- The environment account that's connected to the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
EnvironmentAccountConnection.Builder environmentName(String environmentName)
The name of the environment that's associated with the environment account connection.
- Parameters:
environmentName- The name of the environment that's associated with the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
EnvironmentAccountConnection.Builder id(String id)
The ID of the environment account connection.
- Parameters:
id- The ID of the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
EnvironmentAccountConnection.Builder lastModifiedAt(Instant lastModifiedAt)
The time when the environment account connection was last modified.
- Parameters:
lastModifiedAt- The time when the environment account connection was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managementAccountId
EnvironmentAccountConnection.Builder managementAccountId(String managementAccountId)
The ID of the management account that's connected to the environment account connection.
- Parameters:
managementAccountId- The ID of the management account that's connected to the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedAt
EnvironmentAccountConnection.Builder requestedAt(Instant requestedAt)
The time when the environment account connection request was made.
- Parameters:
requestedAt- The time when the environment account connection request was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
EnvironmentAccountConnection.Builder roleArn(String roleArn)
The IAM service role that's associated with the environment account connection.
- Parameters:
roleArn- The IAM service role that's associated with the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
EnvironmentAccountConnection.Builder status(String status)
The status of the environment account connection.
- Parameters:
status- The status of the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentAccountConnectionStatus,EnvironmentAccountConnectionStatus
-
status
EnvironmentAccountConnection.Builder status(EnvironmentAccountConnectionStatus status)
The status of the environment account connection.
- Parameters:
status- The status of the environment account connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentAccountConnectionStatus,EnvironmentAccountConnectionStatus
-
-