@Generated(value="software.amazon.awssdk:codegen") public final class ResolverEndpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResolverEndpoint.Builder,ResolverEndpoint>
In the response to a CreateResolverEndpoint, DeleteResolverEndpoint, GetResolverEndpoint, Updates the name, or ResolverEndpointType for an endpoint, or UpdateResolverEndpoint request, a complex type that contains settings for an existing inbound or outbound Resolver endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResolverEndpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN (Amazon Resource Name) for the Resolver endpoint.
|
static ResolverEndpoint.Builder |
builder() |
String |
creationTime()
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
|
String |
creatorRequestId()
A unique string that identifies the request that created the Resolver endpoint.
|
ResolverEndpointDirection |
direction()
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:
|
String |
directionAsString()
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroupIds()
For responses, this returns true if the service returned a value for the SecurityGroupIds property.
|
String |
hostVPCId()
The ID of the VPC that you want to create the Resolver endpoint in.
|
String |
id()
The ID of the Resolver endpoint.
|
Integer |
ipAddressCount()
The number of IP addresses that the Resolver endpoint can use for DNS queries.
|
String |
modificationTime()
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
String |
name()
The name that you assigned to the Resolver endpoint when you submitted a CreateResolverEndpoint request.
|
String |
outpostArn()
The ARN (Amazon Resource Name) for the Outpost.
|
String |
preferredInstanceType()
The Amazon EC2 instance type.
|
ResolverEndpointType |
resolverEndpointType()
The Resolver endpoint IP address type.
|
String |
resolverEndpointTypeAsString()
The Resolver endpoint IP address type.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The ID of one or more security groups that control access to this VPC.
|
static Class<? extends ResolverEndpoint.Builder> |
serializableBuilderClass() |
ResolverEndpointStatus |
status()
A code that specifies the current status of the Resolver endpoint.
|
String |
statusAsString()
A code that specifies the current status of the Resolver endpoint.
|
String |
statusMessage()
A detailed description of the status of the Resolver endpoint.
|
ResolverEndpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the Resolver endpoint.
public final String creatorRequestId()
A unique string that identifies the request that created the Resolver endpoint. The CreatorRequestId
allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId allows failed requests to be retried without the risk of running the
operation twice.public final String arn()
The ARN (Amazon Resource Name) for the Resolver endpoint.
public final String name()
The name that you assigned to the Resolver endpoint when you submitted a CreateResolverEndpoint request.
public final boolean hasSecurityGroupIds()
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> securityGroupIds()
The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound rules (for inbound endpoints) or outbound rules (for outbound endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
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 hasSecurityGroupIds() method.
public final ResolverEndpointDirection direction()
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:
INBOUND: allows DNS queries to your VPC from your network
OUTBOUND: allows DNS queries from your VPC to your network
If the service returns an enum value that is not available in the current SDK version, direction will
return ResolverEndpointDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from directionAsString().
INBOUND: allows DNS queries to your VPC from your network
OUTBOUND: allows DNS queries from your VPC to your network
ResolverEndpointDirectionpublic final String directionAsString()
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:
INBOUND: allows DNS queries to your VPC from your network
OUTBOUND: allows DNS queries from your VPC to your network
If the service returns an enum value that is not available in the current SDK version, direction will
return ResolverEndpointDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from directionAsString().
INBOUND: allows DNS queries to your VPC from your network
OUTBOUND: allows DNS queries from your VPC to your network
ResolverEndpointDirectionpublic final Integer ipAddressCount()
The number of IP addresses that the Resolver endpoint can use for DNS queries.
public final String hostVPCId()
The ID of the VPC that you want to create the Resolver endpoint in.
public final ResolverEndpointStatus status()
A code that specifies the current status of the Resolver endpoint. Valid values include the following:
CREATING: Resolver is creating and configuring one or more Amazon VPC network interfaces for this
endpoint.
OPERATIONAL: The Amazon VPC network interfaces for this endpoint are correctly configured and able
to pass inbound or outbound DNS queries between your network and Resolver.
UPDATING: Resolver is associating or disassociating one or more network interfaces with this
endpoint.
AUTO_RECOVERING: Resolver is trying to recover one or more of the network interfaces that are
associated with this endpoint. During the recovery process, the endpoint functions with limited capacity because
of the limit on the number of DNS queries per IP address (per network interface). For the current limit, see
Limits on Route 53 Resolver.
ACTION_NEEDED: This endpoint is unhealthy, and Resolver can't automatically recover it. To resolve
the problem, we recommend that you check each IP address that you associated with the endpoint. For each IP
address that isn't available, add another IP address and then delete the IP address that isn't available. (An
endpoint must always include at least two IP addresses.) A status of ACTION_NEEDED can have a
variety of causes. Here are two common causes:
One or more of the network interfaces that are associated with the endpoint were deleted using Amazon VPC.
The network interface couldn't be created for some reason that's outside the control of Resolver.
DELETING: Resolver is deleting this endpoint and the associated network interfaces.
If the service returns an enum value that is not available in the current SDK version, status will
return ResolverEndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
CREATING: Resolver is creating and configuring one or more Amazon VPC network interfaces for
this endpoint.
OPERATIONAL: The Amazon VPC network interfaces for this endpoint are correctly configured
and able to pass inbound or outbound DNS queries between your network and Resolver.
UPDATING: Resolver is associating or disassociating one or more network interfaces with this
endpoint.
AUTO_RECOVERING: Resolver is trying to recover one or more of the network interfaces that
are associated with this endpoint. During the recovery process, the endpoint functions with limited
capacity because of the limit on the number of DNS queries per IP address (per network interface). For
the current limit, see Limits on Route 53 Resolver.
ACTION_NEEDED: This endpoint is unhealthy, and Resolver can't automatically recover it. To
resolve the problem, we recommend that you check each IP address that you associated with the endpoint.
For each IP address that isn't available, add another IP address and then delete the IP address that
isn't available. (An endpoint must always include at least two IP addresses.) A status of
ACTION_NEEDED can have a variety of causes. Here are two common causes:
One or more of the network interfaces that are associated with the endpoint were deleted using Amazon VPC.
The network interface couldn't be created for some reason that's outside the control of Resolver.
DELETING: Resolver is deleting this endpoint and the associated network interfaces.
ResolverEndpointStatuspublic final String statusAsString()
A code that specifies the current status of the Resolver endpoint. Valid values include the following:
CREATING: Resolver is creating and configuring one or more Amazon VPC network interfaces for this
endpoint.
OPERATIONAL: The Amazon VPC network interfaces for this endpoint are correctly configured and able
to pass inbound or outbound DNS queries between your network and Resolver.
UPDATING: Resolver is associating or disassociating one or more network interfaces with this
endpoint.
AUTO_RECOVERING: Resolver is trying to recover one or more of the network interfaces that are
associated with this endpoint. During the recovery process, the endpoint functions with limited capacity because
of the limit on the number of DNS queries per IP address (per network interface). For the current limit, see
Limits on Route 53 Resolver.
ACTION_NEEDED: This endpoint is unhealthy, and Resolver can't automatically recover it. To resolve
the problem, we recommend that you check each IP address that you associated with the endpoint. For each IP
address that isn't available, add another IP address and then delete the IP address that isn't available. (An
endpoint must always include at least two IP addresses.) A status of ACTION_NEEDED can have a
variety of causes. Here are two common causes:
One or more of the network interfaces that are associated with the endpoint were deleted using Amazon VPC.
The network interface couldn't be created for some reason that's outside the control of Resolver.
DELETING: Resolver is deleting this endpoint and the associated network interfaces.
If the service returns an enum value that is not available in the current SDK version, status will
return ResolverEndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
CREATING: Resolver is creating and configuring one or more Amazon VPC network interfaces for
this endpoint.
OPERATIONAL: The Amazon VPC network interfaces for this endpoint are correctly configured
and able to pass inbound or outbound DNS queries between your network and Resolver.
UPDATING: Resolver is associating or disassociating one or more network interfaces with this
endpoint.
AUTO_RECOVERING: Resolver is trying to recover one or more of the network interfaces that
are associated with this endpoint. During the recovery process, the endpoint functions with limited
capacity because of the limit on the number of DNS queries per IP address (per network interface). For
the current limit, see Limits on Route 53 Resolver.
ACTION_NEEDED: This endpoint is unhealthy, and Resolver can't automatically recover it. To
resolve the problem, we recommend that you check each IP address that you associated with the endpoint.
For each IP address that isn't available, add another IP address and then delete the IP address that
isn't available. (An endpoint must always include at least two IP addresses.) A status of
ACTION_NEEDED can have a variety of causes. Here are two common causes:
One or more of the network interfaces that are associated with the endpoint were deleted using Amazon VPC.
The network interface couldn't be created for some reason that's outside the control of Resolver.
DELETING: Resolver is deleting this endpoint and the associated network interfaces.
ResolverEndpointStatuspublic final String statusMessage()
A detailed description of the status of the Resolver endpoint.
public final String creationTime()
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
public final String modificationTime()
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
public final ResolverEndpointType resolverEndpointType()
The Resolver endpoint IP address type.
If the service returns an enum value that is not available in the current SDK version,
resolverEndpointType will return ResolverEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from resolverEndpointTypeAsString().
ResolverEndpointTypepublic final String resolverEndpointTypeAsString()
The Resolver endpoint IP address type.
If the service returns an enum value that is not available in the current SDK version,
resolverEndpointType will return ResolverEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from resolverEndpointTypeAsString().
ResolverEndpointTypepublic final String outpostArn()
The ARN (Amazon Resource Name) for the Outpost.
public final String preferredInstanceType()
The Amazon EC2 instance type.
public ResolverEndpoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResolverEndpoint.Builder,ResolverEndpoint>public static ResolverEndpoint.Builder builder()
public static Class<? extends ResolverEndpoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.