@Generated(value="software.amazon.awssdk:codegen") public final class VpcEndpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
Describes a VPC endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VpcEndpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VpcEndpoint.Builder |
builder() |
Instant |
creationTimestamp()
The date and time that the endpoint was created.
|
List<DnsEntry> |
dnsEntries()
(Interface endpoint) The DNS entries for the endpoint.
|
DnsOptions |
dnsOptions()
The DNS options for the endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<SecurityGroupIdentifier> |
groups()
(Interface endpoint) Information about the security groups that are associated with the network interface.
|
boolean |
hasDnsEntries()
For responses, this returns true if the service returned a value for the DnsEntries property.
|
boolean |
hasGroups()
For responses, this returns true if the service returned a value for the Groups property.
|
int |
hashCode() |
boolean |
hasNetworkInterfaceIds()
For responses, this returns true if the service returned a value for the NetworkInterfaceIds property.
|
boolean |
hasRouteTableIds()
For responses, this returns true if the service returned a value for the RouteTableIds property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
IpAddressType |
ipAddressType()
The IP address type for the endpoint.
|
String |
ipAddressTypeAsString()
The IP address type for the endpoint.
|
LastError |
lastError()
The last error that occurred for endpoint.
|
List<String> |
networkInterfaceIds()
(Interface endpoint) The network interfaces for the endpoint.
|
String |
ownerId()
The ID of the Amazon Web Services account that owns the endpoint.
|
String |
policyDocument()
The policy document associated with the endpoint, if applicable.
|
Boolean |
privateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
|
Boolean |
requesterManaged()
Indicates whether the endpoint is being managed by its service.
|
List<String> |
routeTableIds()
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VpcEndpoint.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the service to which the endpoint is associated.
|
State |
state()
The state of the endpoint.
|
String |
stateAsString()
The state of the endpoint.
|
List<String> |
subnetIds()
(Interface endpoint) The subnets for the endpoint.
|
List<Tag> |
tags()
The tags assigned to the endpoint.
|
VpcEndpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcEndpointId()
The ID of the endpoint.
|
VpcEndpointType |
vpcEndpointType()
The type of endpoint.
|
String |
vpcEndpointTypeAsString()
The type of endpoint.
|
String |
vpcId()
The ID of the VPC to which the endpoint is associated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String vpcEndpointId()
The ID of the endpoint.
public final VpcEndpointType vpcEndpointType()
The type of endpoint.
If the service returns an enum value that is not available in the current SDK version, vpcEndpointType
will return VpcEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from vpcEndpointTypeAsString().
VpcEndpointTypepublic final String vpcEndpointTypeAsString()
The type of endpoint.
If the service returns an enum value that is not available in the current SDK version, vpcEndpointType
will return VpcEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from vpcEndpointTypeAsString().
VpcEndpointTypepublic final String vpcId()
The ID of the VPC to which the endpoint is associated.
public final String serviceName()
The name of the service to which the endpoint is associated.
public final State state()
The state of the endpoint.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Statepublic final String stateAsString()
The state of the endpoint.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Statepublic final String policyDocument()
The policy document associated with the endpoint, if applicable.
public final boolean hasRouteTableIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> routeTableIds()
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRouteTableIds() method.
public final boolean hasSubnetIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> subnetIds()
(Interface endpoint) The subnets for the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnetIds() method.
public final boolean hasGroups()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<SecurityGroupIdentifier> groups()
(Interface endpoint) Information about the security groups that are associated with the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasGroups() method.
public final IpAddressType ipAddressType()
The IP address type for the endpoint.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IpAddressTypepublic final String ipAddressTypeAsString()
The IP address type for the endpoint.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IpAddressTypepublic final DnsOptions dnsOptions()
The DNS options for the endpoint.
public final Boolean privateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
public final Boolean requesterManaged()
Indicates whether the endpoint is being managed by its service.
public final boolean hasNetworkInterfaceIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> networkInterfaceIds()
(Interface endpoint) The network interfaces for the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNetworkInterfaceIds() method.
public final boolean hasDnsEntries()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<DnsEntry> dnsEntries()
(Interface endpoint) The DNS entries for the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDnsEntries() method.
public final Instant creationTimestamp()
The date and time that the endpoint was created.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
The tags assigned to the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final String ownerId()
The ID of the Amazon Web Services account that owns the endpoint.
public final LastError lastError()
The last error that occurred for endpoint.
public VpcEndpoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>public static VpcEndpoint.Builder builder()
public static Class<? extends VpcEndpoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.