Class VpcEndpoint
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a VPC endpoint.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time the VPC endpoint was created.The policy document associated with the endpoint.One or more route tables associated with the endpoint.The name of the AWS service to which the endpoint is associated.getState()
The state of the VPC endpoint.The ID of the VPC endpoint.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
The state of the VPC endpoint.void
The state of the VPC endpoint.void
setVpcEndpointId
(String vpcEndpointId) The ID of the VPC endpoint.void
The ID of the VPC to which the endpoint is associated.toString()
Returns a string representation of this object; useful for testing and debugging.withCreationTimestamp
(Date creationTimestamp) The date and time the VPC endpoint was created.withPolicyDocument
(String policyDocument) The policy document associated with the endpoint.withRouteTableIds
(String... routeTableIds) One or more route tables associated with the endpoint.withRouteTableIds
(Collection<String> routeTableIds) One or more route tables associated with the endpoint.withServiceName
(String serviceName) The name of the AWS service to which the endpoint is associated.The state of the VPC endpoint.The state of the VPC endpoint.withVpcEndpointId
(String vpcEndpointId) The ID of the VPC endpoint.The ID of the VPC to which the endpoint is associated.
-
Constructor Details
-
VpcEndpoint
public VpcEndpoint()
-
-
Method Details
-
setVpcEndpointId
The ID of the VPC endpoint.
- Parameters:
vpcEndpointId
- The ID of the VPC endpoint.
-
getVpcEndpointId
The ID of the VPC endpoint.
- Returns:
- The ID of the VPC endpoint.
-
withVpcEndpointId
The ID of the VPC endpoint.
- Parameters:
vpcEndpointId
- The ID of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
The ID of the VPC to which the endpoint is associated.
- Parameters:
vpcId
- The ID of the VPC to which the endpoint is associated.
-
getVpcId
The ID of the VPC to which the endpoint is associated.
- Returns:
- The ID of the VPC to which the endpoint is associated.
-
withVpcId
The ID of the VPC to which the endpoint is associated.
- Parameters:
vpcId
- The ID of the VPC to which the endpoint is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceName
The name of the AWS service to which the endpoint is associated.
- Parameters:
serviceName
- The name of the AWS service to which the endpoint is associated.
-
getServiceName
The name of the AWS service to which the endpoint is associated.
- Returns:
- The name of the AWS service to which the endpoint is associated.
-
withServiceName
The name of the AWS service to which the endpoint is associated.
- Parameters:
serviceName
- The name of the AWS service to which the endpoint is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The state of the VPC endpoint.
- Parameters:
state
- The state of the VPC endpoint.- See Also:
-
getState
The state of the VPC endpoint.
- Returns:
- The state of the VPC endpoint.
- See Also:
-
withState
The state of the VPC endpoint.
- Parameters:
state
- The state of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The state of the VPC endpoint.
- Parameters:
state
- The state of the VPC endpoint.- See Also:
-
withState
The state of the VPC endpoint.
- Parameters:
state
- The state of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setPolicyDocument
The policy document associated with the endpoint.
- Parameters:
policyDocument
- The policy document associated with the endpoint.
-
getPolicyDocument
The policy document associated with the endpoint.
- Returns:
- The policy document associated with the endpoint.
-
withPolicyDocument
The policy document associated with the endpoint.
- Parameters:
policyDocument
- The policy document associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRouteTableIds
One or more route tables associated with the endpoint.
- Returns:
- One or more route tables associated with the endpoint.
-
setRouteTableIds
One or more route tables associated with the endpoint.
- Parameters:
routeTableIds
- One or more route tables associated with the endpoint.
-
withRouteTableIds
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)
orwithRouteTableIds(java.util.Collection)
if you want to override the existing values.- Parameters:
routeTableIds
- One or more route tables associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRouteTableIds
One or more route tables associated with the endpoint.
- Parameters:
routeTableIds
- One or more route tables associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTimestamp
The date and time the VPC endpoint was created.
- Parameters:
creationTimestamp
- The date and time the VPC endpoint was created.
-
getCreationTimestamp
The date and time the VPC endpoint was created.
- Returns:
- The date and time the VPC endpoint was created.
-
withCreationTimestamp
The date and time the VPC endpoint was created.
- Parameters:
creationTimestamp
- The date and time the VPC endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-