@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkforceVpcConfigResponse extends Object implements Serializable, Cloneable, StructuredPojo
A VpcConfig object that specifies the VPC that you want your workforce to connect to.
Constructor and Description |
---|
WorkforceVpcConfigResponse() |
Modifier and Type | Method and Description |
---|---|
WorkforceVpcConfigResponse |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The VPC security group IDs, in the form sg-xxxxxxxx.
|
List<String> |
getSubnets()
The ID of the subnets in the VPC that you want to connect.
|
String |
getVpcEndpointId()
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
|
String |
getVpcId()
The ID of the VPC that the workforce uses for communication.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
void |
setSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect.
|
void |
setVpcEndpointId(String vpcEndpointId)
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
|
void |
setVpcId(String vpcId)
The ID of the VPC that the workforce uses for communication.
|
String |
toString()
Returns a string representation of this object.
|
WorkforceVpcConfigResponse |
withSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
WorkforceVpcConfigResponse |
withSecurityGroupIds(String... securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
WorkforceVpcConfigResponse |
withSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect.
|
WorkforceVpcConfigResponse |
withSubnets(String... subnets)
The ID of the subnets in the VPC that you want to connect.
|
WorkforceVpcConfigResponse |
withVpcEndpointId(String vpcEndpointId)
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
|
WorkforceVpcConfigResponse |
withVpcId(String vpcId)
The ID of the VPC that the workforce uses for communication.
|
public void setVpcId(String vpcId)
The ID of the VPC that the workforce uses for communication.
vpcId
- The ID of the VPC that the workforce uses for communication.public String getVpcId()
The ID of the VPC that the workforce uses for communication.
public WorkforceVpcConfigResponse withVpcId(String vpcId)
The ID of the VPC that the workforce uses for communication.
vpcId
- The ID of the VPC that the workforce uses for communication.public List<String> getSecurityGroupIds()
The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
public void setSecurityGroupIds(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.
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.public WorkforceVpcConfigResponse withSecurityGroupIds(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.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
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.public WorkforceVpcConfigResponse withSecurityGroupIds(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.
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.public List<String> getSubnets()
The ID of the subnets in the VPC that you want to connect.
public void setSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect.
subnets
- The ID of the subnets in the VPC that you want to connect.public WorkforceVpcConfigResponse withSubnets(String... subnets)
The ID of the subnets in the VPC that you want to connect.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The ID of the subnets in the VPC that you want to connect.public WorkforceVpcConfigResponse withSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect.
subnets
- The ID of the subnets in the VPC that you want to connect.public void setVpcEndpointId(String vpcEndpointId)
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
vpcEndpointId
- The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.public String getVpcEndpointId()
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
public WorkforceVpcConfigResponse withVpcEndpointId(String vpcEndpointId)
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
vpcEndpointId
- The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.public String toString()
toString
in class Object
Object.toString()
public WorkforceVpcConfigResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.