@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 that the endpoint was created.
|
List<DnsEntry> |
getDnsEntries()
(Interface endpoint) The DNS entries for the endpoint.
|
DnsOptions |
getDnsOptions()
The DNS options for the endpoint.
|
List<SecurityGroupIdentifier> |
getGroups()
(Interface endpoint) Information about the security groups that are associated with the network interface.
|
String |
getIpAddressType()
The IP address type for the endpoint.
|
LastError |
getLastError()
The last error that occurred for endpoint.
|
List<String> |
getNetworkInterfaceIds()
(Interface endpoint) The network interfaces for the endpoint.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns 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.
|
Boolean |
getRequesterManaged()
Indicates whether the endpoint is being managed by its service.
|
List<String> |
getRouteTableIds()
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
|
String |
getServiceName()
The name of the service to which the endpoint is associated.
|
String |
getState()
The state of the endpoint.
|
List<String> |
getSubnetIds()
(Interface endpoint) The subnets for the endpoint.
|
List<Tag> |
getTags()
The tags assigned to the endpoint.
|
String |
getVpcEndpointId()
The ID of the 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.
|
Boolean |
isRequesterManaged()
Indicates whether the endpoint is being managed by its service.
|
void |
setCreationTimestamp(Date creationTimestamp)
The date and time that the endpoint was created.
|
void |
setDnsEntries(Collection<DnsEntry> dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
|
void |
setDnsOptions(DnsOptions dnsOptions)
The DNS options for the endpoint.
|
void |
setGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.
|
void |
setIpAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
|
void |
setIpAddressType(String ipAddressType)
The IP address type for the endpoint.
|
void |
setLastError(LastError lastError)
The last error that occurred for endpoint.
|
void |
setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) The network interfaces for the endpoint.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns 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 |
setRequesterManaged(Boolean requesterManaged)
Indicates whether the endpoint is being managed by its service.
|
void |
setRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
|
void |
setServiceName(String serviceName)
The name of the service to which the endpoint is associated.
|
void |
setState(State state)
The state of the endpoint.
|
void |
setState(String state)
The state of the endpoint.
|
void |
setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The subnets for the endpoint.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the endpoint.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of the 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.
|
VpcEndpoint |
withCreationTimestamp(Date creationTimestamp)
The date and time that the 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 |
withDnsOptions(DnsOptions dnsOptions)
The DNS options for the endpoint.
|
VpcEndpoint |
withGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.
|
VpcEndpoint |
withGroups(SecurityGroupIdentifier... groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.
|
VpcEndpoint |
withIpAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
|
VpcEndpoint |
withIpAddressType(String ipAddressType)
The IP address type for the endpoint.
|
VpcEndpoint |
withLastError(LastError lastError)
The last error that occurred for endpoint.
|
VpcEndpoint |
withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) The network interfaces for the endpoint.
|
VpcEndpoint |
withNetworkInterfaceIds(String... networkInterfaceIds)
(Interface endpoint) The network interfaces for the endpoint.
|
VpcEndpoint |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns 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 |
withRequesterManaged(Boolean requesterManaged)
Indicates whether the endpoint is being managed by its service.
|
VpcEndpoint |
withRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
|
VpcEndpoint |
withRouteTableIds(String... routeTableIds)
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
|
VpcEndpoint |
withServiceName(String serviceName)
The name of the service to which the endpoint is associated.
|
VpcEndpoint |
withState(State state)
The state of the endpoint.
|
VpcEndpoint |
withState(String state)
The state of the endpoint.
|
VpcEndpoint |
withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The subnets for the endpoint.
|
VpcEndpoint |
withSubnetIds(String... subnetIds)
(Interface endpoint) The subnets for the endpoint.
|
VpcEndpoint |
withTags(Collection<Tag> tags)
The tags assigned to the endpoint.
|
VpcEndpoint |
withTags(Tag... tags)
The tags assigned to the endpoint.
|
VpcEndpoint |
withVpcEndpointId(String vpcEndpointId)
The ID of the 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 endpoint.
vpcEndpointId
- The ID of the endpoint.public String getVpcEndpointId()
The ID of the endpoint.
public VpcEndpoint withVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the 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 service to which the endpoint is associated.
serviceName
- The name of the service to which the endpoint is associated.public String getServiceName()
The name of the service to which the endpoint is associated.
public VpcEndpoint withServiceName(String serviceName)
The name of the service to which the endpoint is associated.
serviceName
- The name of the service to which the endpoint is associated.public void setState(String state)
The state of the endpoint.
state
- The state of the endpoint.State
public String getState()
The state of the endpoint.
State
public VpcEndpoint withState(String state)
The state of the endpoint.
state
- The state of the endpoint.State
public void setState(State state)
The state of the endpoint.
state
- The state of the endpoint.State
public VpcEndpoint withState(State state)
The state of the endpoint.
state
- The state of the 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) The IDs of the route tables associated with the endpoint.
public void setRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
routeTableIds
- (Gateway endpoint) The IDs of the route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(String... routeTableIds)
(Gateway endpoint) The IDs of the 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) The IDs of the route tables associated with the endpoint.public VpcEndpoint withRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
routeTableIds
- (Gateway endpoint) The IDs of the route tables associated with the endpoint.public List<String> getSubnetIds()
(Interface endpoint) The subnets for the endpoint.
public void setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The subnets for the endpoint.
subnetIds
- (Interface endpoint) The subnets for the endpoint.public VpcEndpoint withSubnetIds(String... subnetIds)
(Interface endpoint) The subnets for the endpoint.
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) The subnets for the endpoint.public VpcEndpoint withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The subnets for the endpoint.
subnetIds
- (Interface endpoint) The subnets for the endpoint.public List<SecurityGroupIdentifier> getGroups()
(Interface endpoint) Information about the security groups that are associated with the network interface.
public void setGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.
groups
- (Interface endpoint) Information about the security groups that are associated with the network interface.public VpcEndpoint withGroups(SecurityGroupIdentifier... groups)
(Interface endpoint) Information about the security groups that are 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 that are associated with the network interface.public VpcEndpoint withGroups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.
groups
- (Interface endpoint) Information about the security groups that are associated with the network interface.public void setIpAddressType(String ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
public String getIpAddressType()
The IP address type for the endpoint.
IpAddressType
public VpcEndpoint withIpAddressType(String ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
public void setIpAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
public VpcEndpoint withIpAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
public void setDnsOptions(DnsOptions dnsOptions)
The DNS options for the endpoint.
dnsOptions
- The DNS options for the endpoint.public DnsOptions getDnsOptions()
The DNS options for the endpoint.
public VpcEndpoint withDnsOptions(DnsOptions dnsOptions)
The DNS options for the endpoint.
dnsOptions
- The DNS options for the endpoint.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 void setRequesterManaged(Boolean requesterManaged)
Indicates whether the endpoint is being managed by its service.
requesterManaged
- Indicates whether the endpoint is being managed by its service.public Boolean getRequesterManaged()
Indicates whether the endpoint is being managed by its service.
public VpcEndpoint withRequesterManaged(Boolean requesterManaged)
Indicates whether the endpoint is being managed by its service.
requesterManaged
- Indicates whether the endpoint is being managed by its service.public Boolean isRequesterManaged()
Indicates whether the endpoint is being managed by its service.
public List<String> getNetworkInterfaceIds()
(Interface endpoint) The network interfaces for the endpoint.
public void setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) The network interfaces for the endpoint.
networkInterfaceIds
- (Interface endpoint) The network interfaces for the endpoint.public VpcEndpoint withNetworkInterfaceIds(String... networkInterfaceIds)
(Interface endpoint) The 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) The network interfaces for the endpoint.public VpcEndpoint withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) The network interfaces for the endpoint.
networkInterfaceIds
- (Interface endpoint) The 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 that the endpoint was created.
creationTimestamp
- The date and time that the endpoint was created.public Date getCreationTimestamp()
The date and time that the endpoint was created.
public VpcEndpoint withCreationTimestamp(Date creationTimestamp)
The date and time that the endpoint was created.
creationTimestamp
- The date and time that the endpoint was created.public List<Tag> getTags()
The tags assigned to the endpoint.
public void setTags(Collection<Tag> tags)
The tags assigned to the endpoint.
tags
- The tags assigned to the endpoint.public VpcEndpoint withTags(Tag... tags)
The tags assigned to the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags assigned to the endpoint.public VpcEndpoint withTags(Collection<Tag> tags)
The tags assigned to the endpoint.
tags
- The tags assigned to the endpoint.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the endpoint.
ownerId
- The ID of the Amazon Web Services account that owns the endpoint.public String getOwnerId()
The ID of the Amazon Web Services account that owns the endpoint.
public VpcEndpoint withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the endpoint.
ownerId
- The ID of the Amazon Web Services account that owns the endpoint.public void setLastError(LastError lastError)
The last error that occurred for endpoint.
lastError
- The last error that occurred for endpoint.public LastError getLastError()
The last error that occurred for endpoint.
public VpcEndpoint withLastError(LastError lastError)
The last error that occurred for endpoint.
lastError
- The last error that occurred for endpoint.public String toString()
toString
in class Object
Object.toString()
public VpcEndpoint clone()