Interface WorkforceVpcConfigRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkforceVpcConfigRequest.Builder,WorkforceVpcConfigRequest>
,SdkBuilder<WorkforceVpcConfigRequest.Builder,WorkforceVpcConfigRequest>
,SdkPojo
- Enclosing class:
- WorkforceVpcConfigRequest
public static interface WorkforceVpcConfigRequest.Builder extends SdkPojo, CopyableBuilder<WorkforceVpcConfigRequest.Builder,WorkforceVpcConfigRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkforceVpcConfigRequest.Builder
securityGroupIds(String... securityGroupIds)
The VPC security group IDs, in the formsg-xxxxxxxx
.WorkforceVpcConfigRequest.Builder
securityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the formsg-xxxxxxxx
.WorkforceVpcConfigRequest.Builder
subnets(String... subnets)
The ID of the subnets in the VPC that you want to connect.WorkforceVpcConfigRequest.Builder
subnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect.WorkforceVpcConfigRequest.Builder
vpcId(String vpcId)
The ID of the VPC that the workforce uses for communication.-
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
-
vpcId
WorkforceVpcConfigRequest.Builder vpcId(String vpcId)
The ID of the VPC that the workforce uses for communication.
- Parameters:
vpcId
- The ID of the VPC that the workforce uses for communication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
WorkforceVpcConfigRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the form
sg-xxxxxxxx
. The security groups must be for the same VPC as specified in the subnet.- Parameters:
securityGroupIds
- The VPC security group IDs, in the formsg-xxxxxxxx
. The security groups must be for the same VPC as specified in the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
WorkforceVpcConfigRequest.Builder securityGroupIds(String... securityGroupIds)
The VPC security group IDs, in the form
sg-xxxxxxxx
. The security groups must be for the same VPC as specified in the subnet.- Parameters:
securityGroupIds
- The VPC security group IDs, in the formsg-xxxxxxxx
. The security groups must be for the same VPC as specified in the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
WorkforceVpcConfigRequest.Builder subnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect.
- Parameters:
subnets
- The ID of the subnets in the VPC that you want to connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
WorkforceVpcConfigRequest.Builder subnets(String... subnets)
The ID of the subnets in the VPC that you want to connect.
- Parameters:
subnets
- The ID of the subnets in the VPC that you want to connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-