@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
List<DnsEntry> |
getDnsEntries()
(Interface endpoint) The DNS entries for the endpoint.
|
List<SecurityGroupIdentifier> |
getGroups()
(Interface endpoint) Information about the security groups associated with the network interface.
|
List<String> |
getNetworkInterfaceIds()
(Interface endpoint) One or more network interfaces for the endpoint.
|
String |
getPolicyDocument()
The policy document associated with the endpoint, if applicable.
|
Boolean |
getPrivateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
|
List<String> |
getRouteTableIds()
(Gateway endpoint) 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.
|
List<String> |
getSubnetIds()
(Interface endpoint) One or more subnets in which the endpoint is located.
|
String |
getVpcEndpointId()
The ID of the VPC endpoint.
|
String |
getVpcEndpointType()
The type of endpoint.
|
String |
getVpcId()
The ID of the VPC to which the endpoint is associated.
|
int |
hashCode() |
Boolean |
isPrivateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
|
void |
setCreationTimestamp(Date creationTimestamp)
The date and time the VPC endpoint was created.
|
void |
setDnsEntries(Collection<DnsEntry> dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
|
void |
setGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups associated with the network interface.
|
void |
setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
|
void |
setPolicyDocument(String policyDocument)
The policy document associated with the endpoint, if applicable.
|
void |
setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
|
void |
setRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) 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 |
setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) One or more subnets in which the endpoint is located.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
|
void |
setVpcEndpointType(String vpcEndpointType)
The type of endpoint.
|
void |
setVpcEndpointType(VpcEndpointType vpcEndpointType)
The type of 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 |
withDnsEntries(Collection<DnsEntry> dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
|
VpcEndpoint |
withDnsEntries(DnsEntry... dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
|
VpcEndpoint |
withGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups associated with the network interface.
|
VpcEndpoint |
withGroups(SecurityGroupIdentifier... groups)
(Interface endpoint) Information about the security groups associated with the network interface.
|
VpcEndpoint |
withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
|
VpcEndpoint |
withNetworkInterfaceIds(String... networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
|
VpcEndpoint |
withPolicyDocument(String policyDocument)
The policy document associated with the endpoint, if applicable.
|
VpcEndpoint |
withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
|
VpcEndpoint |
withRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route tables associated with the endpoint.
|
VpcEndpoint |
withRouteTableIds(String... routeTableIds)
(Gateway endpoint) 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 |
withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) One or more subnets in which the endpoint is located.
|
VpcEndpoint |
withSubnetIds(String... subnetIds)
(Interface endpoint) One or more subnets in which the endpoint is located.
|
VpcEndpoint |
withVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
|
VpcEndpoint |
withVpcEndpointType(String vpcEndpointType)
The type of endpoint.
|
VpcEndpoint |
withVpcEndpointType(VpcEndpointType vpcEndpointType)
The type of 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 setVpcEndpointType(String vpcEndpointType)
The type of endpoint.
vpcEndpointType
- The type of endpoint.VpcEndpointType
public String getVpcEndpointType()
The type of endpoint.
VpcEndpointType
public VpcEndpoint withVpcEndpointType(String vpcEndpointType)
The type of endpoint.
vpcEndpointType
- The type of endpoint.VpcEndpointType
public void setVpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.
vpcEndpointType
- The type of endpoint.VpcEndpointType
public VpcEndpoint withVpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.
vpcEndpointType
- The type of endpoint.VpcEndpointType
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, if applicable.
policyDocument
- The policy document associated with the endpoint, if applicable.public String getPolicyDocument()
The policy document associated with the endpoint, if applicable.
public VpcEndpoint withPolicyDocument(String policyDocument)
The policy document associated with the endpoint, if applicable.
policyDocument
- The policy document associated with the endpoint, if applicable.public List<String> getRouteTableIds()
(Gateway endpoint) One or more route tables associated with the endpoint.
public void setRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route tables associated with the endpoint.
routeTableIds
- (Gateway endpoint) One or more route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(String... routeTableIds)
(Gateway endpoint) 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
- (Gateway endpoint) One or more route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route tables associated with the endpoint.
routeTableIds
- (Gateway endpoint) One or more route tables associated with the endpoint.public List<String> getSubnetIds()
(Interface endpoint) One or more subnets in which the endpoint is located.
public void setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) One or more subnets in which the endpoint is located.
subnetIds
- (Interface endpoint) One or more subnets in which the endpoint is located.public VpcEndpoint withSubnetIds(String... subnetIds)
(Interface endpoint) One or more subnets in which the endpoint is located.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- (Interface endpoint) One or more subnets in which the endpoint is located.public VpcEndpoint withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) One or more subnets in which the endpoint is located.
subnetIds
- (Interface endpoint) One or more subnets in which the endpoint is located.public List<SecurityGroupIdentifier> getGroups()
(Interface endpoint) Information about the security groups associated with the network interface.
public void setGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups associated with the network interface.
groups
- (Interface endpoint) Information about the security groups associated with the network interface.public VpcEndpoint withGroups(SecurityGroupIdentifier... groups)
(Interface endpoint) Information about the security groups associated with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- (Interface endpoint) Information about the security groups associated with the network interface.public VpcEndpoint withGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups associated with the network interface.
groups
- (Interface endpoint) Information about the security groups associated with the network interface.public void setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
privateDnsEnabled
- (Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.public Boolean getPrivateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
public VpcEndpoint withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
privateDnsEnabled
- (Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.public Boolean isPrivateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
public List<String> getNetworkInterfaceIds()
(Interface endpoint) One or more network interfaces for the endpoint.
public void setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
networkInterfaceIds
- (Interface endpoint) One or more network interfaces for the endpoint.public VpcEndpoint withNetworkInterfaceIds(String... networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaceIds(java.util.Collection)
or withNetworkInterfaceIds(java.util.Collection)
if you want to override the existing values.
networkInterfaceIds
- (Interface endpoint) One or more network interfaces for the endpoint.public VpcEndpoint withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
networkInterfaceIds
- (Interface endpoint) One or more network interfaces for the endpoint.public List<DnsEntry> getDnsEntries()
(Interface endpoint) The DNS entries for the endpoint.
public void setDnsEntries(Collection<DnsEntry> dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
dnsEntries
- (Interface endpoint) The DNS entries for the endpoint.public VpcEndpoint withDnsEntries(DnsEntry... dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setDnsEntries(java.util.Collection)
or withDnsEntries(java.util.Collection)
if you want to
override the existing values.
dnsEntries
- (Interface endpoint) The DNS entries for the endpoint.public VpcEndpoint withDnsEntries(Collection<DnsEntry> dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
dnsEntries
- (Interface endpoint) The DNS entries for 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.