@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIpAddresses()
Returns true if the IpAddresses 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 |
hasSecurityGroupIds()
Returns true if the SecurityGroupIds 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).
|
List<IpAddressRequest> |
ipAddresses()
The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you
forward DNS queries to (for inbound 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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final String name()
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
public final boolean hasSecurityGroupIds()
public final 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). 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.
You can use hasSecurityGroupIds() to see if a value was sent in this field.
public final ResolverEndpointDirection direction()
Specify the applicable value:
INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network
OUTBOUND: Resolver forwards DNS queries from the DNS service for a 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: Resolver forwards DNS queries to the DNS service for a VPC from your network
OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network
ResolverEndpointDirectionpublic final String directionAsString()
Specify the applicable value:
INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network
OUTBOUND: Resolver forwards DNS queries from the DNS service for a 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: Resolver forwards DNS queries to the DNS service for a VPC from your network
OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network
ResolverEndpointDirectionpublic final boolean hasIpAddresses()
public final List<IpAddressRequest> ipAddresses()
The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIpAddresses() to see if a value was sent in this field.
public final boolean hasTags()
public final 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.
You can use hasTags() to see if a value was sent in this field.
public CreateResolverEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>toBuilder in class Route53ResolverRequestpublic static CreateResolverEndpointRequest.Builder builder()
public static Class<? extends CreateResolverEndpointRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.