Interface VpcLatticeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcLatticeConfiguration.Builder,,VpcLatticeConfiguration> SdkBuilder<VpcLatticeConfiguration.Builder,,VpcLatticeConfiguration> SdkPojo
- Enclosing class:
VpcLatticeConfiguration
@Mutable
@NotThreadSafe
public static interface VpcLatticeConfiguration.Builder
extends SdkPojo, CopyableBuilder<VpcLatticeConfiguration.Builder,VpcLatticeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VpcLatticeConfiguration.BuilderadvancedConfiguration(Consumer<VpcLatticeAdvancedConfiguration.Builder> advancedConfiguration) Sets the value of the AdvancedConfiguration property for this object.advancedConfiguration(VpcLatticeAdvancedConfiguration advancedConfiguration) Sets the value of the AdvancedConfiguration property for this object.The name of the port mapping to register in the VPC Lattice target group.The ARN of the IAM role to associate with this VPC Lattice configuration.targetGroupArn(String targetGroupArn) The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
roleArn
The ARN of the IAM role to associate with this VPC Lattice configuration. This is the Amazon ECS infrastructure IAM role that is used to manage your VPC Lattice infrastructure.
- Parameters:
roleArn- The ARN of the IAM role to associate with this VPC Lattice configuration. This is the Amazon ECS infrastructure IAM role that is used to manage your VPC Lattice infrastructure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupArn
The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.
- Parameters:
targetGroupArn- The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portName
The name of the port mapping to register in the VPC Lattice target group. This is the name of the
portMappingyou defined in your task definition.- Parameters:
portName- The name of the port mapping to register in the VPC Lattice target group. This is the name of theportMappingyou defined in your task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedConfiguration
VpcLatticeConfiguration.Builder advancedConfiguration(VpcLatticeAdvancedConfiguration advancedConfiguration) Sets the value of the AdvancedConfiguration property for this object.- Parameters:
advancedConfiguration- The new value for the AdvancedConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedConfiguration
default VpcLatticeConfiguration.Builder advancedConfiguration(Consumer<VpcLatticeAdvancedConfiguration.Builder> advancedConfiguration) Sets the value of the AdvancedConfiguration property for this object. This is a convenience method that creates an instance of theVpcLatticeAdvancedConfiguration.Builderavoiding the need to create one manually viaVpcLatticeAdvancedConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadvancedConfiguration(VpcLatticeAdvancedConfiguration).- Parameters:
advancedConfiguration- a consumer that will call methods onVpcLatticeAdvancedConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-