public class VpcEndpoint
extends java.lang.Object
implements java.io.Serializable
Describes a VPC endpoint.
| Constructor and Description |
|---|
VpcEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTimestamp()
The date and time the VPC endpoint was created.
|
java.lang.String |
getPolicyDocument()
The policy document associated with the endpoint.
|
java.util.List<java.lang.String> |
getRouteTableIds()
One or more route tables associated with the endpoint.
|
java.lang.String |
getServiceName()
The name of the AWS service to which the endpoint is associated.
|
java.lang.String |
getState()
The state of the VPC endpoint.
|
java.lang.String |
getVpcEndpointId()
The ID of the VPC endpoint.
|
java.lang.String |
getVpcId()
The ID of the VPC to which the endpoint is associated.
|
int |
hashCode() |
void |
setCreationTimestamp(java.util.Date creationTimestamp)
The date and time the VPC endpoint was created.
|
void |
setPolicyDocument(java.lang.String policyDocument)
The policy document associated with the endpoint.
|
void |
setRouteTableIds(java.util.Collection<java.lang.String> routeTableIds)
One or more route tables associated with the endpoint.
|
void |
setServiceName(java.lang.String serviceName)
The name of the AWS service to which the endpoint is associated.
|
void |
setState(State state)
The state of the VPC endpoint.
|
void |
setState(java.lang.String state)
The state of the VPC endpoint.
|
void |
setVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the VPC endpoint.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC to which the endpoint is associated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpcEndpoint |
withCreationTimestamp(java.util.Date creationTimestamp)
The date and time the VPC endpoint was created.
|
VpcEndpoint |
withPolicyDocument(java.lang.String policyDocument)
The policy document associated with the endpoint.
|
VpcEndpoint |
withRouteTableIds(java.util.Collection<java.lang.String> routeTableIds)
One or more route tables associated with the endpoint.
|
VpcEndpoint |
withRouteTableIds(java.lang.String... routeTableIds)
One or more route tables associated with the endpoint.
|
VpcEndpoint |
withServiceName(java.lang.String serviceName)
The name of the AWS service to which the endpoint is associated.
|
VpcEndpoint |
withState(State state)
The state of the VPC endpoint.
|
VpcEndpoint |
withState(java.lang.String state)
The state of the VPC endpoint.
|
VpcEndpoint |
withVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the VPC endpoint.
|
VpcEndpoint |
withVpcId(java.lang.String vpcId)
The ID of the VPC to which the endpoint is associated.
|
public java.lang.String getVpcEndpointId()
public void setVpcEndpointId(java.lang.String vpcEndpointId)
vpcEndpointId - The ID of the VPC endpoint.public VpcEndpoint withVpcEndpointId(java.lang.String vpcEndpointId)
Returns a reference to this object so that method calls can be chained together.
vpcEndpointId - The ID of the VPC endpoint.public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId - The ID of the VPC to which the endpoint is associated.public VpcEndpoint withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - The ID of the VPC to which the endpoint is associated.public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName - The name of the AWS service to which the endpoint is associated.public VpcEndpoint withServiceName(java.lang.String serviceName)
Returns a reference to this object so that method calls can be chained together.
serviceName - The name of the AWS service to which the endpoint is associated.public java.lang.String getState()
Constraints:
Allowed Values: Pending, Available, Deleting, Deleted
Statepublic void setState(java.lang.String state)
Constraints:
Allowed Values: Pending, Available, Deleting, Deleted
state - The state of the VPC endpoint.Statepublic VpcEndpoint withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Available, Deleting, Deleted
state - The state of the VPC endpoint.Statepublic void setState(State state)
Constraints:
Allowed Values: Pending, Available, Deleting, Deleted
state - The state of the VPC endpoint.Statepublic VpcEndpoint withState(State state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Available, Deleting, Deleted
state - The state of the VPC endpoint.Statepublic java.lang.String getPolicyDocument()
public void setPolicyDocument(java.lang.String policyDocument)
policyDocument - The policy document associated with the endpoint.public VpcEndpoint withPolicyDocument(java.lang.String policyDocument)
Returns a reference to this object so that method calls can be chained together.
policyDocument - The policy document associated with the endpoint.public java.util.List<java.lang.String> getRouteTableIds()
public void setRouteTableIds(java.util.Collection<java.lang.String> routeTableIds)
routeTableIds - One or more route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(java.lang.String... routeTableIds)
Returns a reference to this object so that method calls can be chained together.
routeTableIds - One or more route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(java.util.Collection<java.lang.String> routeTableIds)
Returns a reference to this object so that method calls can be chained together.
routeTableIds - One or more route tables associated with the endpoint.public java.util.Date getCreationTimestamp()
public void setCreationTimestamp(java.util.Date creationTimestamp)
creationTimestamp - The date and time the VPC endpoint was created.public VpcEndpoint withCreationTimestamp(java.util.Date creationTimestamp)
Returns a reference to this object so that method calls can be chained together.
creationTimestamp - The date and time the VPC endpoint was created.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.