Interface NetworkConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<NetworkConfiguration.Builder,,- NetworkConfiguration> - SdkBuilder<NetworkConfiguration.Builder,,- NetworkConfiguration> - SdkPojo
- Enclosing class:
- NetworkConfiguration
@Mutable
@NotThreadSafe
public static interface NetworkConfiguration.Builder
extends SdkPojo, CopyableBuilder<NetworkConfiguration.Builder,NetworkConfiguration> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault NetworkConfiguration.BuilderawsvpcConfiguration(Consumer<AwsVpcConfiguration.Builder> awsvpcConfiguration) The VPC subnets and security groups that are associated with a task.awsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration) The VPC subnets and security groups that are associated with a task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
awsvpcConfigurationThe VPC subnets and security groups that are associated with a task. All specified subnets and security groups must be from the same VPC. - Parameters:
- awsvpcConfiguration- The VPC subnets and security groups that are associated with a task.- All specified subnets and security groups must be from the same VPC. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
awsvpcConfigurationdefault NetworkConfiguration.Builder awsvpcConfiguration(Consumer<AwsVpcConfiguration.Builder> awsvpcConfiguration) The VPC subnets and security groups that are associated with a task. All specified subnets and security groups must be from the same VPC. AwsVpcConfiguration.Builderavoiding the need to create one manually viaAwsVpcConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsvpcConfiguration(AwsVpcConfiguration).- Parameters:
- awsvpcConfiguration- a consumer that will call methods on- AwsVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-