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