@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, ListResolverEndpoints, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The ID of the resolver endpoint.
public 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 executing the operation twice.
CreatorRequestId
allows failed requests to be retried without the risk of executing the
operation twice.public String arn()
The ARN (Amazon Resource Name) for the resolver endpoint.
public String name()
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
public 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 resolver rules.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ResolverEndpointDirection direction()
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
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 or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
ResolverEndpointDirection
public String directionAsString()
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
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 or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
ResolverEndpointDirection
public Integer ipAddressCount()
The number of IP addresses that the resolver endpoint can use for DNS queries.
public String hostVPCId()
The ID of the VPC that you want to create the resolver endpoint in.
public ResolverEndpointStatus status()
A code that specifies the current status of the resolver endpoint.
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()
.
ResolverEndpointStatus
public String statusAsString()
A code that specifies the current status of the resolver endpoint.
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()
.
ResolverEndpointStatus
public String statusMessage()
A detailed description of the status of the resolver endpoint.
public String creationTime()
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
public String modificationTime()
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
public ResolverEndpoint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResolverEndpoint.Builder,ResolverEndpoint>
public static ResolverEndpoint.Builder builder()
public static Class<? extends ResolverEndpoint.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.