@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateVpcEndpointDetail extends Object implements Serializable, Cloneable, StructuredPojo
Update details for an OpenSearch Serverless-managed interface endpoint.
Constructor and Description |
---|
UpdateVpcEndpointDetail() |
Modifier and Type | Method and Description |
---|---|
UpdateVpcEndpointDetail |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier of the endpoint.
|
Long |
getLastModifiedDate()
The timestamp of when the endpoint was last modified.
|
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 update process.
|
List<String> |
getSubnetIds()
The ID of the subnets from which you access OpenSearch Serverless.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The unique identifier of the endpoint.
|
void |
setLastModifiedDate(Long lastModifiedDate)
The timestamp of when the endpoint was last modified.
|
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 update process.
|
void |
setSubnetIds(Collection<String> subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
|
String |
toString()
Returns a string representation of this object.
|
UpdateVpcEndpointDetail |
withId(String id)
The unique identifier of the endpoint.
|
UpdateVpcEndpointDetail |
withLastModifiedDate(Long lastModifiedDate)
The timestamp of when the endpoint was last modified.
|
UpdateVpcEndpointDetail |
withName(String name)
The name of the endpoint.
|
UpdateVpcEndpointDetail |
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.
|
UpdateVpcEndpointDetail |
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.
|
UpdateVpcEndpointDetail |
withStatus(String status)
The current status of the endpoint update process.
|
UpdateVpcEndpointDetail |
withStatus(VpcEndpointStatus status)
The current status of the endpoint update process.
|
UpdateVpcEndpointDetail |
withSubnetIds(Collection<String> subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
|
UpdateVpcEndpointDetail |
withSubnetIds(String... subnetIds)
The ID of the subnets from which you access OpenSearch Serverless.
|
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 UpdateVpcEndpointDetail withId(String id)
The unique identifier of the endpoint.
id
- The unique identifier of the endpoint.public void setLastModifiedDate(Long lastModifiedDate)
The timestamp of when the endpoint was last modified.
lastModifiedDate
- The timestamp of when the endpoint was last modified.public Long getLastModifiedDate()
The timestamp of when the endpoint was last modified.
public UpdateVpcEndpointDetail withLastModifiedDate(Long lastModifiedDate)
The timestamp of when the endpoint was last modified.
lastModifiedDate
- The timestamp of when the endpoint was last modified.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 UpdateVpcEndpointDetail 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 UpdateVpcEndpointDetail 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 UpdateVpcEndpointDetail 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 update process.
status
- The current status of the endpoint update process.VpcEndpointStatus
public String getStatus()
The current status of the endpoint update process.
VpcEndpointStatus
public UpdateVpcEndpointDetail withStatus(String status)
The current status of the endpoint update process.
status
- The current status of the endpoint update process.VpcEndpointStatus
public UpdateVpcEndpointDetail withStatus(VpcEndpointStatus status)
The current status of the endpoint update process.
status
- The current status of the endpoint update process.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 UpdateVpcEndpointDetail 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 UpdateVpcEndpointDetail 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 String toString()
toString
in class Object
Object.toString()
public UpdateVpcEndpointDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.