@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 the VPC endpoint was created.
|
List<DnsEntry> |
dnsEntries()
(Interface endpoint) The DNS entries for the endpoint.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<SecurityGroupIdentifier> |
groups()
(Interface endpoint) Information about the security groups associated with the network interface.
|
int |
hashCode() |
List<String> |
networkInterfaceIds()
(Interface endpoint) One or more network interfaces for 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.
|
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.
|
VpcEndpoint.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public String vpcEndpointId()
The ID of the VPC endpoint.
public 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()
.
VpcEndpointType
public 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()
.
VpcEndpointType
public String vpcId()
The ID of the VPC to which the endpoint is associated.
public String serviceName()
The name of the service to which the endpoint is associated.
public 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()
.
State
public 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()
.
State
public String policyDocument()
The policy document associated with the endpoint, if applicable.
public 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.
public 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.
public List<SecurityGroupIdentifier> groups()
(Interface endpoint) Information about the security groups associated with the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean privateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
public 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.
public 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.
public Instant creationTimestamp()
The date and time the VPC endpoint was created.
public VpcEndpoint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
public static VpcEndpoint.Builder builder()
public static Class<? extends VpcEndpoint.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.