@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VPCDerivedInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the subnets and security groups for an Amazon OpenSearch Service domain provisioned within a
virtual private cloud (VPC). For more information, see Launching your Amazon OpenSearch
Service domains using a VPC. This information only exists if the domain was created with VPCOptions
.
Constructor and Description |
---|
VPCDerivedInfo() |
Modifier and Type | Method and Description |
---|---|
VPCDerivedInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The list of Availability Zones associated with the VPC subnets.
|
List<String> |
getSecurityGroupIds()
The list of security group IDs associated with the VPC endpoints for the domain.
|
List<String> |
getSubnetIds()
A list of subnet IDs associated with the VPC endpoints for the domain.
|
String |
getVPCId()
The ID for your VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones associated with the VPC subnets.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
|
void |
setVPCId(String vPCId)
The ID for your VPC.
|
String |
toString()
Returns a string representation of this object.
|
VPCDerivedInfo |
withAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones associated with the VPC subnets.
|
VPCDerivedInfo |
withAvailabilityZones(String... availabilityZones)
The list of Availability Zones associated with the VPC subnets.
|
VPCDerivedInfo |
withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
|
VPCDerivedInfo |
withSecurityGroupIds(String... securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
|
VPCDerivedInfo |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
|
VPCDerivedInfo |
withSubnetIds(String... subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
|
VPCDerivedInfo |
withVPCId(String vPCId)
The ID for your VPC.
|
public void setVPCId(String vPCId)
The ID for your VPC. Amazon VPC generates this value when you create a VPC.
vPCId
- The ID for your VPC. Amazon VPC generates this value when you create a VPC.public String getVPCId()
The ID for your VPC. Amazon VPC generates this value when you create a VPC.
public VPCDerivedInfo withVPCId(String vPCId)
The ID for your VPC. Amazon VPC generates this value when you create a VPC.
vPCId
- The ID for your VPC. Amazon VPC generates this value when you create a VPC.public List<String> getSubnetIds()
A list of subnet IDs associated with the VPC endpoints for the domain.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
subnetIds
- A list of subnet IDs associated with the VPC endpoints for the domain.public VPCDerivedInfo withSubnetIds(String... subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
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
- A list of subnet IDs associated with the VPC endpoints for the domain.public VPCDerivedInfo withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
subnetIds
- A list of subnet IDs associated with the VPC endpoints for the domain.public List<String> getAvailabilityZones()
The list of Availability Zones associated with the VPC subnets.
public void setAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones associated with the VPC subnets.
availabilityZones
- The list of Availability Zones associated with the VPC subnets.public VPCDerivedInfo withAvailabilityZones(String... availabilityZones)
The list of Availability Zones associated with the VPC subnets.
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 list of Availability Zones associated with the VPC subnets.public VPCDerivedInfo withAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones associated with the VPC subnets.
availabilityZones
- The list of Availability Zones associated with the VPC subnets.public List<String> getSecurityGroupIds()
The list of security group IDs associated with the VPC endpoints for the domain.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
securityGroupIds
- The list of security group IDs associated with the VPC endpoints for the domain.public VPCDerivedInfo withSecurityGroupIds(String... securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
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 list of security group IDs associated with the VPC endpoints for the domain.public VPCDerivedInfo withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
securityGroupIds
- The list of security group IDs associated with the VPC endpoints for the domain.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.