@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElasticsearchDomainVPCOptions extends Object implements Serializable, Cloneable, StructuredPojo
Information that OpenSearch derives based on VPCOptions
for the domain.
Constructor and Description |
---|
AwsElasticsearchDomainVPCOptions() |
Modifier and Type | Method and Description |
---|---|
AwsElasticsearchDomainVPCOptions |
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()
ID for the 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)
ID for the VPC.
|
String |
toString()
Returns a string representation of this object.
|
AwsElasticsearchDomainVPCOptions |
withAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones associated with the VPC subnets.
|
AwsElasticsearchDomainVPCOptions |
withAvailabilityZones(String... availabilityZones)
The list of Availability Zones associated with the VPC subnets.
|
AwsElasticsearchDomainVPCOptions |
withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
|
AwsElasticsearchDomainVPCOptions |
withSecurityGroupIds(String... securityGroupIds)
The list of security group IDs associated with the VPC endpoints for the domain.
|
AwsElasticsearchDomainVPCOptions |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
|
AwsElasticsearchDomainVPCOptions |
withSubnetIds(String... subnetIds)
A list of subnet IDs associated with the VPC endpoints for the domain.
|
AwsElasticsearchDomainVPCOptions |
withVPCId(String vPCId)
ID for the VPC.
|
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 AwsElasticsearchDomainVPCOptions 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 AwsElasticsearchDomainVPCOptions 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 AwsElasticsearchDomainVPCOptions 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 AwsElasticsearchDomainVPCOptions 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 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 AwsElasticsearchDomainVPCOptions 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 AwsElasticsearchDomainVPCOptions 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 void setVPCId(String vPCId)
ID for the VPC.
vPCId
- ID for the VPC.public String getVPCId()
ID for the VPC.
public AwsElasticsearchDomainVPCOptions withVPCId(String vPCId)
ID for the VPC.
vPCId
- ID for the VPC.public String toString()
toString
in class Object
Object.toString()
public AwsElasticsearchDomainVPCOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.