@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcEndpointDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about an OpenSearch Serverless-managed interface endpoint.
Constructor and Description |
---|
VpcEndpointDetail() |
Modifier and Type | Method and Description |
---|---|
VpcEndpointDetail |
clone() |
boolean |
equals(Object obj) |
Long |
getCreatedDate()
The date the endpoint was created.
|
String |
getId()
The unique identifier of the endpoint.
|
String |
getName()
The name of the endpoint.
|
List<String> |
getSecurityGroupIds()
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic
that you are authorizing into your endpoint.
|
String |
getStatus()
The current status of the endpoint.
|
List<String> |
getSubnetIds()
The ID of the subnets from which you access OpenSearch Serverless.
|
String |
getVpcId()
The ID of the VPC from which you access OpenSearch Serverless.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreatedDate(Long createdDate)
The date the endpoint was created.
|
void |
setId(String id)
The unique identifier of the endpoint.
|
void |
setName(String name)
The name of the endpoint.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic
that you are authorizing into your endpoint.
|
void |
setStatus(String status)
The current status of the endpoint.
|
void |
setSubnetIds(Collection<String> subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
|
void |
setVpcId(String vpcId)
The ID of the VPC from which you access OpenSearch Serverless.
|
String |
toString()
Returns a string representation of this object.
|
VpcEndpointDetail |
withCreatedDate(Long createdDate)
The date the endpoint was created.
|
VpcEndpointDetail |
withId(String id)
The unique identifier of the endpoint.
|
VpcEndpointDetail |
withName(String name)
The name of the endpoint.
|
VpcEndpointDetail |
withSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic
that you are authorizing into your endpoint.
|
VpcEndpointDetail |
withSecurityGroupIds(String... securityGroupIds)
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic
that you are authorizing into your endpoint.
|
VpcEndpointDetail |
withStatus(String status)
The current status of the endpoint.
|
VpcEndpointDetail |
withStatus(VpcEndpointStatus status)
The current status of the endpoint.
|
VpcEndpointDetail |
withSubnetIds(Collection<String> subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
|
VpcEndpointDetail |
withSubnetIds(String... subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
|
VpcEndpointDetail |
withVpcId(String vpcId)
The ID of the VPC from which you access OpenSearch Serverless.
|
public void setCreatedDate(Long createdDate)
The date the endpoint was created.
createdDate
- The date the endpoint was created.public Long getCreatedDate()
The date the endpoint was created.
public VpcEndpointDetail withCreatedDate(Long createdDate)
The date the endpoint was created.
createdDate
- The date the endpoint was created.public void setId(String id)
The unique identifier of the endpoint.
id
- The unique identifier of the endpoint.public String getId()
The unique identifier of the endpoint.
public VpcEndpointDetail withId(String id)
The unique identifier of the endpoint.
id
- The unique identifier of the endpoint.public void setName(String name)
The name of the endpoint.
name
- The name of the endpoint.public String getName()
The name of the endpoint.
public VpcEndpointDetail withName(String name)
The name of the endpoint.
name
- The name of the endpoint.public List<String> getSecurityGroupIds()
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
securityGroupIds
- The unique identifiers of the security groups that define the ports, protocols, and sources for inbound
traffic that you are authorizing into your endpoint.public VpcEndpointDetail withSecurityGroupIds(String... securityGroupIds)
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your 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 unique identifiers of the security groups that define the ports, protocols, and sources for inbound
traffic that you are authorizing into your endpoint.public VpcEndpointDetail withSecurityGroupIds(Collection<String> securityGroupIds)
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
securityGroupIds
- The unique identifiers of the security groups that define the ports, protocols, and sources for inbound
traffic that you are authorizing into your endpoint.public void setStatus(String status)
The current status of the endpoint.
status
- The current status of the endpoint.VpcEndpointStatus
public String getStatus()
The current status of the endpoint.
VpcEndpointStatus
public VpcEndpointDetail withStatus(String status)
The current status of the endpoint.
status
- The current status of the endpoint.VpcEndpointStatus
public VpcEndpointDetail withStatus(VpcEndpointStatus status)
The current status of the endpoint.
status
- The current status of the endpoint.VpcEndpointStatus
public List<String> getSubnetIds()
The ID of the subnets from which you access OpenSearch Serverless.
public void setSubnetIds(Collection<String> subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
subnetIds
- The ID of the subnets from which you access OpenSearch Serverless.public VpcEndpointDetail withSubnetIds(String... subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
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 ID of the subnets from which you access OpenSearch Serverless.public VpcEndpointDetail withSubnetIds(Collection<String> subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
subnetIds
- The ID of the subnets from which you access OpenSearch Serverless.public void setVpcId(String vpcId)
The ID of the VPC from which you access OpenSearch Serverless.
vpcId
- The ID of the VPC from which you access OpenSearch Serverless.public String getVpcId()
The ID of the VPC from which you access OpenSearch Serverless.
public VpcEndpointDetail withVpcId(String vpcId)
The ID of the VPC from which you access OpenSearch Serverless.
vpcId
- The ID of the VPC from which you access OpenSearch Serverless.public String toString()
toString
in class Object
Object.toString()
public VpcEndpointDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.