@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsOpenSearchServiceDomainVpcOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains information that OpenSearch Service derives based on the VPCOptions
for the domain.
Constructor and Description |
---|
AwsOpenSearchServiceDomainVpcOptionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsOpenSearchServiceDomainVpcOptionsDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The list of security group IDs that are associated with the VPC endpoints for the domain.
|
List<String> |
getSubnetIds()
A list of subnet IDs that are associated with the VPC endpoints for the domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs that are associated with the VPC endpoints for the domain.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are associated with the VPC endpoints for the domain.
|
String |
toString()
Returns a string representation of this object.
|
AwsOpenSearchServiceDomainVpcOptionsDetails |
withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs that are associated with the VPC endpoints for the domain.
|
AwsOpenSearchServiceDomainVpcOptionsDetails |
withSecurityGroupIds(String... securityGroupIds)
The list of security group IDs that are associated with the VPC endpoints for the domain.
|
AwsOpenSearchServiceDomainVpcOptionsDetails |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are associated with the VPC endpoints for the domain.
|
AwsOpenSearchServiceDomainVpcOptionsDetails |
withSubnetIds(String... subnetIds)
A list of subnet IDs that are associated with the VPC endpoints for the domain.
|
public AwsOpenSearchServiceDomainVpcOptionsDetails()
public List<String> getSecurityGroupIds()
The list of security group IDs that are associated with the VPC endpoints for the domain.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs that are associated with the VPC endpoints for the domain.
securityGroupIds
- The list of security group IDs that are associated with the VPC endpoints for the domain.public AwsOpenSearchServiceDomainVpcOptionsDetails withSecurityGroupIds(String... securityGroupIds)
The list of security group IDs that are 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 that are associated with the VPC endpoints for the domain.public AwsOpenSearchServiceDomainVpcOptionsDetails withSecurityGroupIds(Collection<String> securityGroupIds)
The list of security group IDs that are associated with the VPC endpoints for the domain.
securityGroupIds
- The list of security group IDs that are associated with the VPC endpoints for the domain.public List<String> getSubnetIds()
A list of subnet IDs that are associated with the VPC endpoints for the domain.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are associated with the VPC endpoints for the domain.
subnetIds
- A list of subnet IDs that are associated with the VPC endpoints for the domain.public AwsOpenSearchServiceDomainVpcOptionsDetails withSubnetIds(String... subnetIds)
A list of subnet IDs that are 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 that are associated with the VPC endpoints for the domain.public AwsOpenSearchServiceDomainVpcOptionsDetails withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are associated with the VPC endpoints for the domain.
subnetIds
- A list of subnet IDs that are associated with the VPC endpoints for the domain.public String toString()
toString
in class Object
Object.toString()
public AwsOpenSearchServiceDomainVpcOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.