@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VPCOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options to specify the subnets and security groups for VPC endpoint. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
Constructor and Description |
---|
VPCOptions() |
Modifier and Type | Method and Description |
---|---|
VPCOptions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
Specifies the security groups for VPC endpoint.
|
List<String> |
getSubnetIds()
Specifies the subnets for VPC endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
Specifies the security groups for VPC endpoint.
|
void |
setSubnetIds(Collection<String> subnetIds)
Specifies the subnets for VPC endpoint.
|
String |
toString()
Returns a string representation of this object.
|
VPCOptions |
withSecurityGroupIds(Collection<String> securityGroupIds)
Specifies the security groups for VPC endpoint.
|
VPCOptions |
withSecurityGroupIds(String... securityGroupIds)
Specifies the security groups for VPC endpoint.
|
VPCOptions |
withSubnetIds(Collection<String> subnetIds)
Specifies the subnets for VPC endpoint.
|
VPCOptions |
withSubnetIds(String... subnetIds)
Specifies the subnets for VPC endpoint.
|
public List<String> getSubnetIds()
Specifies the subnets for VPC endpoint.
public void setSubnetIds(Collection<String> subnetIds)
Specifies the subnets for VPC endpoint.
subnetIds
- Specifies the subnets for VPC endpoint.public VPCOptions withSubnetIds(String... subnetIds)
Specifies the subnets for VPC endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- Specifies the subnets for VPC endpoint.public VPCOptions withSubnetIds(Collection<String> subnetIds)
Specifies the subnets for VPC endpoint.
subnetIds
- Specifies the subnets for VPC endpoint.public List<String> getSecurityGroupIds()
Specifies the security groups for VPC endpoint.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
Specifies the security groups for VPC endpoint.
securityGroupIds
- Specifies the security groups for VPC endpoint.public VPCOptions withSecurityGroupIds(String... securityGroupIds)
Specifies the security groups for VPC endpoint.
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
- Specifies the security groups for VPC endpoint.public VPCOptions withSecurityGroupIds(Collection<String> securityGroupIds)
Specifies the security groups for VPC endpoint.
securityGroupIds
- Specifies the security groups for VPC endpoint.public String toString()
toString
in class Object
Object.toString()
public VPCOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.