@Generated(value="software.amazon.awssdk:codegen") public final class CreateResolverEndpointRequest extends Route53ResolverRequest implements ToCopyableBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateResolverEndpointRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateResolverEndpointRequest.Builder |
builder() |
String |
creatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice.
|
ResolverEndpointDirection |
direction()
Specify the applicable value:
|
String |
directionAsString()
Specify the applicable value:
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<IpAddressRequest> |
ipAddresses()
The subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to
your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound resolver
endpoints).
|
String |
name()
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The ID of one or more security groups that you want to use to control access to this VPC.
|
static Class<? extends CreateResolverEndpointRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A list of the tag keys and values that you want to associate with the endpoint.
|
CreateResolverEndpointRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String creatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
CreatorRequestId
can be any unique string, for
example, a date/time stamp.public String name()
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
public List<String> securityGroupIds()
The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound resolver endpoints) or outbound rules (for outbound resolver endpoints).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ResolverEndpointDirection direction()
Specify the applicable value:
INBOUND
: Resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC
OUTBOUND
: Resolver forwards DNS queries from the DNS service for a 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
: Resolver forwards DNS queries to the DNS service for a VPC from your network or
another VPC
OUTBOUND
: Resolver forwards DNS queries from the DNS service for a VPC to your network or
another VPC
ResolverEndpointDirection
public String directionAsString()
Specify the applicable value:
INBOUND
: Resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC
OUTBOUND
: Resolver forwards DNS queries from the DNS service for a 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
: Resolver forwards DNS queries to the DNS service for a VPC from your network or
another VPC
OUTBOUND
: Resolver forwards DNS queries from the DNS service for a VPC to your network or
another VPC
ResolverEndpointDirection
public List<IpAddressRequest> ipAddresses()
The subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound resolver endpoints).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Tag> tags()
A list of the tag keys and values that you want to associate with the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateResolverEndpointRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>
toBuilder
in class Route53ResolverRequest
public static CreateResolverEndpointRequest.Builder builder()
public static Class<? extends CreateResolverEndpointRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.