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 void setVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
vpcEndpointId
- The ID of the VPC endpoint.public String getVpcEndpointId()
The ID of the VPC endpoint.
public VpcEndpoint withVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
vpcEndpointId
- The ID of the VPC endpoint.public void setVpcId(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 String getVpcId()
The ID of the VPC to which the endpoint is associated.
public VpcEndpoint withVpcId(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(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 String getServiceName()
The name of the AWS service to which the endpoint is associated.
public VpcEndpoint withServiceName(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(String state)
The state of the VPC endpoint.
state
- The state of the VPC endpoint.State
public String getState()
The state of the VPC endpoint.
State
public VpcEndpoint withState(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(String policyDocument)
The policy document associated with the endpoint.
policyDocument
- The policy document associated with the endpoint.public String getPolicyDocument()
The policy document associated with the endpoint.
public VpcEndpoint withPolicyDocument(String policyDocument)
The policy document associated with the endpoint.
policyDocument
- The policy document associated with the endpoint.public List<String> getRouteTableIds()
One or more route tables associated with the endpoint.
public void setRouteTableIds(Collection<String> routeTableIds)
One or more route tables associated with the endpoint.
routeTableIds
- One or more route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(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(Collection<String> routeTableIds)
One or more route tables associated with the endpoint.
routeTableIds
- One or more route tables associated with the endpoint.public void setCreationTimestamp(Date creationTimestamp)
The date and time the VPC endpoint was created.
creationTimestamp
- The date and time the VPC endpoint was created.public Date getCreationTimestamp()
The date and time the VPC endpoint was created.
public VpcEndpoint withCreationTimestamp(Date creationTimestamp)
The date and time the VPC endpoint was created.
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.