@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 VPC endpoint was created.
|
List<DnsEntry> |
dnsEntries()
(Interface endpoint) The DNS entries 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()
Returns true if the DnsEntries property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasGroups()
Returns true if the Groups property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasNetworkInterfaceIds()
Returns true if the NetworkInterfaceIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasRouteTableIds()
Returns true if the RouteTableIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasSubnetIds()
Returns true if the SubnetIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
LastError |
lastError()
The last error that occurred for VPC endpoint.
|
List<String> |
networkInterfaceIds()
(Interface endpoint) One or more network interfaces for the endpoint.
|
String |
ownerId()
The ID of the AWS account that owns the VPC 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 VPC endpoint is being managed by its service.
|
List<String> |
routeTableIds()
(Gateway endpoint) One or more 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 VPC endpoint.
|
String |
stateAsString()
The state of the VPC endpoint.
|
List<String> |
subnetIds()
(Interface endpoint) One or more subnets in which the endpoint is located.
|
List<Tag> |
tags()
Any tags assigned to the VPC endpoint.
|
VpcEndpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcEndpointId()
The ID of the VPC 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 VPC 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 VPC 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 VPC 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()
public final List<String> routeTableIds()
(Gateway endpoint) One or more route tables associated with the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRouteTableIds() to see if a value was sent in this field.
public final boolean hasSubnetIds()
public final List<String> subnetIds()
(Interface endpoint) One or more subnets in which the endpoint is located.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubnetIds() to see if a value was sent in this field.
public final boolean hasGroups()
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.
You can use hasGroups() to see if a value was sent in this field.
public final Boolean privateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
public final Boolean requesterManaged()
Indicates whether the VPC endpoint is being managed by its service.
public final boolean hasNetworkInterfaceIds()
public final List<String> networkInterfaceIds()
(Interface endpoint) One or more network interfaces for the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNetworkInterfaceIds() to see if a value was sent in this field.
public final boolean hasDnsEntries()
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.
You can use hasDnsEntries() to see if a value was sent in this field.
public final Instant creationTimestamp()
The date and time that the VPC endpoint was created.
public final boolean hasTags()
public final List<Tag> tags()
Any tags assigned to the VPC endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final String ownerId()
The ID of the AWS account that owns the VPC endpoint.
public final LastError lastError()
The last error that occurred for VPC 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 © 2021. All rights reserved.