@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, wait
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 boolean hasRouteTableIds()
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.
You can use hasRouteTableIds()
to see if a value was sent in this field.
public boolean hasSubnetIds()
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.
You can use hasSubnetIds()
to see if a value was sent in this field.
public boolean hasGroups()
public 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 Boolean privateDnsEnabled()
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
public Boolean requesterManaged()
Indicates whether the VPC endpoint is being managed by its service.
public boolean hasNetworkInterfaceIds()
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.
You can use hasNetworkInterfaceIds()
to see if a value was sent in this field.
public boolean hasDnsEntries()
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.
You can use hasDnsEntries()
to see if a value was sent in this field.
public Instant creationTimestamp()
The date and time that the VPC endpoint was created.
public boolean hasTags()
public 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 String ownerId()
The ID of the AWS account that owns the VPC endpoint.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.