Interface ManagedInstancesNetworkConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedInstancesNetworkConfiguration.Builder,ManagedInstancesNetworkConfiguration>,SdkBuilder<ManagedInstancesNetworkConfiguration.Builder,ManagedInstancesNetworkConfiguration>,SdkPojo
- Enclosing class:
- ManagedInstancesNetworkConfiguration
@Mutable @NotThreadSafe public static interface ManagedInstancesNetworkConfiguration.Builder extends SdkPojo, CopyableBuilder<ManagedInstancesNetworkConfiguration.Builder,ManagedInstancesNetworkConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedInstancesNetworkConfiguration.BuildersecurityGroups(String... securityGroups)The list of security group IDs to apply to Amazon ECS Managed Instances.ManagedInstancesNetworkConfiguration.BuildersecurityGroups(Collection<String> securityGroups)The list of security group IDs to apply to Amazon ECS Managed Instances.ManagedInstancesNetworkConfiguration.Buildersubnets(String... subnets)The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances.ManagedInstancesNetworkConfiguration.Buildersubnets(Collection<String> subnets)The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
subnets
ManagedInstancesNetworkConfiguration.Builder subnets(Collection<String> subnets)
The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.
- Parameters:
subnets- The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
ManagedInstancesNetworkConfiguration.Builder subnets(String... subnets)
The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.
- Parameters:
subnets- The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
ManagedInstancesNetworkConfiguration.Builder securityGroups(Collection<String> securityGroups)
The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.
- Parameters:
securityGroups- The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
ManagedInstancesNetworkConfiguration.Builder securityGroups(String... securityGroups)
The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.
- Parameters:
securityGroups- The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-