public class VpcEndpoint
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a VPC endpoint.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
creationTimestamp
The date and time the VPC endpoint was created.
|
private java.lang.String |
policyDocument
The policy document associated with the endpoint.
|
private SdkInternalList<java.lang.String> |
routeTableIds
One or more route tables associated with the endpoint.
|
private java.lang.String |
serviceName
The name of the AWS service to which the endpoint is associated.
|
private java.lang.String |
state
The state of the VPC endpoint.
|
private java.lang.String |
vpcEndpointId
The ID of the VPC endpoint.
|
private java.lang.String |
vpcId
The ID of the VPC to which the endpoint is associated.
|
Constructor and Description |
---|
VpcEndpoint() |
Modifier and Type | Method and Description |
---|---|
VpcEndpoint |
clone() |
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.
|
private java.lang.String vpcEndpointId
The ID of the VPC endpoint.
private java.lang.String vpcId
The ID of the VPC to which the endpoint is associated.
private java.lang.String serviceName
The name of the AWS service to which the endpoint is associated.
private java.lang.String state
The state of the VPC endpoint.
private java.lang.String policyDocument
The policy document associated with the endpoint.
private SdkInternalList<java.lang.String> routeTableIds
One or more route tables associated with the endpoint.
private java.util.Date creationTimestamp
The date and time the VPC endpoint was created.
public void setVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the VPC endpoint.
vpcEndpointId
- The ID of the VPC endpoint.public java.lang.String getVpcEndpointId()
The ID of the VPC endpoint.
public VpcEndpoint withVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the VPC endpoint.
vpcEndpointId
- The ID of the VPC endpoint.public void setVpcId(java.lang.String vpcId)
The ID of the VPC to which the endpoint is associated.
vpcId
- The ID of the VPC to which the endpoint is associated.public java.lang.String getVpcId()
The ID of the VPC to which the endpoint is associated.
public VpcEndpoint withVpcId(java.lang.String vpcId)
The ID of the VPC to which the endpoint is associated.
vpcId
- The ID of the VPC to which the endpoint is associated.public void setServiceName(java.lang.String serviceName)
The name of the AWS service to which the endpoint is associated.
serviceName
- The name of the AWS service to which the endpoint is associated.public java.lang.String getServiceName()
The name of the AWS service to which the endpoint is associated.
public VpcEndpoint withServiceName(java.lang.String serviceName)
The name of the AWS service to which the endpoint is associated.
serviceName
- The name of the AWS service to which the endpoint is associated.public void setState(java.lang.String state)
The state of the VPC endpoint.
state
- The state of the VPC endpoint.State
public java.lang.String getState()
The state of the VPC endpoint.
State
public VpcEndpoint withState(java.lang.String state)
The state of the VPC endpoint.
state
- The state of the VPC endpoint.State
public void setState(State state)
The state of the VPC endpoint.
state
- The state of the VPC endpoint.State
public VpcEndpoint withState(State state)
The state of the VPC endpoint.
state
- The state of the VPC endpoint.State
public void setPolicyDocument(java.lang.String policyDocument)
The policy document associated with the endpoint.
policyDocument
- The policy document associated with the endpoint.public java.lang.String getPolicyDocument()
The policy document associated with the endpoint.
public VpcEndpoint withPolicyDocument(java.lang.String policyDocument)
The policy document associated with the endpoint.
policyDocument
- The policy document associated with the endpoint.public java.util.List<java.lang.String> getRouteTableIds()
One or more route tables associated with the endpoint.
public void setRouteTableIds(java.util.Collection<java.lang.String> routeTableIds)
One or more route tables associated with the endpoint.
routeTableIds
- One or more route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(java.lang.String... routeTableIds)
One or more route tables associated with the endpoint.
NOTE: This method appends the values to the existing list (if
any). Use setRouteTableIds(java.util.Collection)
or
withRouteTableIds(java.util.Collection)
if you want to override
the existing values.
routeTableIds
- One or more route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(java.util.Collection<java.lang.String> routeTableIds)
One or more route tables associated with the endpoint.
routeTableIds
- One or more route tables associated with the endpoint.public void setCreationTimestamp(java.util.Date creationTimestamp)
The date and time the VPC endpoint was created.
creationTimestamp
- The date and time the VPC endpoint was created.public java.util.Date getCreationTimestamp()
The date and time the VPC endpoint was created.
public VpcEndpoint withCreationTimestamp(java.util.Date creationTimestamp)
The date and time the VPC endpoint was created.
creationTimestamp
- The date and time the VPC endpoint was created.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VpcEndpoint clone()
clone
in class java.lang.Object