Interface VPCConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VPCConfig.Builder,VPCConfig>,SdkBuilder<VPCConfig.Builder,VPCConfig>,SdkPojo
- Enclosing class:
- VPCConfig
public static interface VPCConfig.Builder extends SdkPojo, CopyableBuilder<VPCConfig.Builder,VPCConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VPCConfig.BuilderassignPublicIp(Boolean assignPublicIp)A boolean indicating whether to assign a public IP address.VPCConfig.BuildersecurityGroups(String... securityGroups)A list of one or more security groups IDs in your VPC.VPCConfig.BuildersecurityGroups(Collection<String> securityGroups)A list of one or more security groups IDs in your VPC.VPCConfig.Buildersubnets(String... subnets)A list of one or more subnet IDs in your VPC.VPCConfig.Buildersubnets(Collection<String> subnets)A list of one or more subnet IDs in your VPC.-
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, sdkFields
-
-
-
-
Method Detail
-
subnets
VPCConfig.Builder subnets(Collection<String> subnets)
A list of one or more subnet IDs in your VPC.
- Parameters:
subnets- A list of one or more subnet IDs in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
VPCConfig.Builder subnets(String... subnets)
A list of one or more subnet IDs in your VPC.
- Parameters:
subnets- A list of one or more subnet IDs in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
VPCConfig.Builder securityGroups(Collection<String> securityGroups)
A list of one or more security groups IDs in your VPC.
- Parameters:
securityGroups- A list of one or more security groups IDs in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
VPCConfig.Builder securityGroups(String... securityGroups)
A list of one or more security groups IDs in your VPC.
- Parameters:
securityGroups- A list of one or more security groups IDs in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignPublicIp
VPCConfig.Builder assignPublicIp(Boolean assignPublicIp)
A boolean indicating whether to assign a public IP address.
- Parameters:
assignPublicIp- A boolean indicating whether to assign a public IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-