@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VPCDerivedInfo 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 |
---|
VPCDerivedInfo() |
Modifier and Type | Method and Description |
---|---|
VPCDerivedInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The Availability Zones for the domain.
|
List<String> |
getSecurityGroupIds()
The security groups for the VPC endpoint.
|
List<String> |
getSubnetIds()
The subnets for the VPC endpoint.
|
String |
getVPCId()
The VPC ID for the domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the domain.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the VPC endpoint.
|
void |
setSubnetIds(Collection<String> subnetIds)
The subnets for the VPC endpoint.
|
void |
setVPCId(String vPCId)
The VPC ID for the domain.
|
String |
toString()
Returns a string representation of this object.
|
VPCDerivedInfo |
withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the domain.
|
VPCDerivedInfo |
withAvailabilityZones(String... availabilityZones)
The Availability Zones for the domain.
|
VPCDerivedInfo |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the VPC endpoint.
|
VPCDerivedInfo |
withSecurityGroupIds(String... securityGroupIds)
The security groups for the VPC endpoint.
|
VPCDerivedInfo |
withSubnetIds(Collection<String> subnetIds)
The subnets for the VPC endpoint.
|
VPCDerivedInfo |
withSubnetIds(String... subnetIds)
The subnets for the VPC endpoint.
|
VPCDerivedInfo |
withVPCId(String vPCId)
The VPC ID for the domain.
|
public void setVPCId(String vPCId)
The VPC ID for the domain. Exists only if the domain was created with VPCOptions
.
vPCId
- The VPC ID for the domain. Exists only if the domain was created with VPCOptions
.public String getVPCId()
The VPC ID for the domain. Exists only if the domain was created with VPCOptions
.
VPCOptions
.public VPCDerivedInfo withVPCId(String vPCId)
The VPC ID for the domain. Exists only if the domain was created with VPCOptions
.
vPCId
- The VPC ID for the domain. Exists only if the domain was created with VPCOptions
.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 VPCDerivedInfo 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 VPCDerivedInfo withSubnetIds(Collection<String> subnetIds)
The subnets for the VPC endpoint.
subnetIds
- The subnets for the VPC endpoint.public List<String> getAvailabilityZones()
The Availability Zones for the domain. Exists only if the domain was created with VPCOptions
.
VPCOptions
.public void setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the domain. Exists only if the domain was created with VPCOptions
.
availabilityZones
- The Availability Zones for the domain. Exists only if the domain was created with VPCOptions
.public VPCDerivedInfo withAvailabilityZones(String... availabilityZones)
The Availability Zones for the domain. Exists only if the domain was created with VPCOptions
.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The Availability Zones for the domain. Exists only if the domain was created with VPCOptions
.public VPCDerivedInfo withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the domain. Exists only if the domain was created with VPCOptions
.
availabilityZones
- The Availability Zones for the domain. Exists only if the domain was created with VPCOptions
.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 VPCDerivedInfo 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 VPCDerivedInfo 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 VPCDerivedInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.