Interface VpcConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcConfiguration.Builder,,VpcConfiguration> SdkBuilder<VpcConfiguration.Builder,,VpcConfiguration> SdkPojo
- Enclosing class:
VpcConfiguration
@Mutable
@NotThreadSafe
public static interface VpcConfiguration.Builder
extends SdkPojo, CopyableBuilder<VpcConfiguration.Builder,VpcConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsecurityGroups(String... securityGroups) The IDs of the security groups to associate with the instances.securityGroups(Collection<String> securityGroups) The IDs of the security groups to associate with the instances.The IDs of the subnets in which to launch instances.subnets(Collection<String> subnets) The IDs of the subnets in which to launch instances.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
-
subnets
The IDs of the subnets in which to launch instances. You must specify at least one subnet.
- Parameters:
subnets- The IDs of the subnets in which to launch instances. You must specify at least one subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The IDs of the subnets in which to launch instances. You must specify at least one subnet.
- Parameters:
subnets- The IDs of the subnets in which to launch instances. You must specify at least one subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The IDs of the security groups to associate with the instances. You must specify at least one security group.
- Parameters:
securityGroups- The IDs of the security groups to associate with the instances. You must specify at least one security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The IDs of the security groups to associate with the instances. You must specify at least one security group.
- Parameters:
securityGroups- The IDs of the security groups to associate with the instances. You must specify at least one security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-