Interface CreateEnvironmentAccountConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEnvironmentAccountConnectionRequest.Builder,CreateEnvironmentAccountConnectionRequest>,ProtonRequest.Builder,SdkBuilder<CreateEnvironmentAccountConnectionRequest.Builder,CreateEnvironmentAccountConnectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateEnvironmentAccountConnectionRequest
public static interface CreateEnvironmentAccountConnectionRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentAccountConnectionRequest.Builder,CreateEnvironmentAccountConnectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateEnvironmentAccountConnectionRequest.BuilderclientToken(String clientToken)When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.CreateEnvironmentAccountConnectionRequest.BuildercodebuildRoleArn(String codebuildRoleArn)The Amazon Resource Name (ARN) of an IAM service role in the environment account.CreateEnvironmentAccountConnectionRequest.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.CreateEnvironmentAccountConnectionRequest.BuilderenvironmentName(String environmentName)The name of the Proton environment that's created in the associated management account.CreateEnvironmentAccountConnectionRequest.BuildermanagementAccountId(String managementAccountId)The ID of the management account that accepts or rejects the environment account connection.CreateEnvironmentAccountConnectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateEnvironmentAccountConnectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateEnvironmentAccountConnectionRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account.CreateEnvironmentAccountConnectionRequest.Buildertags(Collection<Tag> tags)An optional list of metadata items that you can associate with the Proton environment account connection.CreateEnvironmentAccountConnectionRequest.Buildertags(Consumer<Tag.Builder>... tags)An optional list of metadata items that you can associate with the Proton environment account connection.CreateEnvironmentAccountConnectionRequest.Buildertags(Tag... tags)An optional list of metadata items that you can associate with the Proton environment account connection.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
build
-
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
-
clientToken
CreateEnvironmentAccountConnectionRequest.Builder clientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
- Parameters:
clientToken- When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codebuildRoleArn
CreateEnvironmentAccountConnectionRequest.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
CreateEnvironmentAccountConnectionRequest.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.
You must specify
componentRoleArnto allow directly defined components to be associated with any environments running in this 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.You must specify
componentRoleArnto allow directly defined components to be associated with any environments running in this 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.
-
environmentName
CreateEnvironmentAccountConnectionRequest.Builder environmentName(String environmentName)
The name of the Proton environment that's created in the associated management account.
- Parameters:
environmentName- The name of the Proton environment that's created in the associated management account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managementAccountId
CreateEnvironmentAccountConnectionRequest.Builder managementAccountId(String managementAccountId)
The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- Parameters:
managementAccountId- The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateEnvironmentAccountConnectionRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEnvironmentAccountConnectionRequest.Builder tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- Parameters:
tags- An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.For more information, see Proton resources and tagging in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEnvironmentAccountConnectionRequest.Builder tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- Parameters:
tags- An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.For more information, see Proton resources and tagging in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEnvironmentAccountConnectionRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateEnvironmentAccountConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEnvironmentAccountConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-