@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 the VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
Constructor and Description |
---|
VPCOptions() |
Modifier and Type | Method and Description |
---|---|
VPCOptions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The security groups for the VPC endpoint.
|
List<String> |
getSubnetIds()
The subnets for the VPC endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the VPC endpoint.
|
void |
setSubnetIds(Collection<String> subnetIds)
The subnets for the VPC endpoint.
|
String |
toString()
Returns a string representation of this object.
|
VPCOptions |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the VPC endpoint.
|
VPCOptions |
withSecurityGroupIds(String... securityGroupIds)
The security groups for the VPC endpoint.
|
VPCOptions |
withSubnetIds(Collection<String> subnetIds)
The subnets for the VPC endpoint.
|
VPCOptions |
withSubnetIds(String... subnetIds)
The subnets for the VPC endpoint.
|
public List<String> getSubnetIds()
The subnets for the VPC endpoint.
public void setSubnetIds(Collection<String> subnetIds)
The subnets for the VPC endpoint.
subnetIds
- The subnets for the VPC endpoint.public VPCOptions withSubnetIds(String... subnetIds)
The subnets for the 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
- The subnets for the VPC endpoint.public VPCOptions withSubnetIds(Collection<String> subnetIds)
The subnets for the VPC endpoint.
subnetIds
- The subnets for the VPC endpoint.public List<String> getSecurityGroupIds()
The security groups for the VPC endpoint.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the VPC endpoint.
securityGroupIds
- The security groups for the VPC endpoint.public VPCOptions withSecurityGroupIds(String... securityGroupIds)
The security groups for the 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
- The security groups for the VPC endpoint.public VPCOptions withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the VPC endpoint.
securityGroupIds
- The security groups for the VPC endpoint.public String toString()
toString
in class Object
Object.toString()
public VPCOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.