Interface ResolverEndpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResolverEndpoint.Builder,ResolverEndpoint>,SdkBuilder<ResolverEndpoint.Builder,ResolverEndpoint>,SdkPojo
- Enclosing class:
- ResolverEndpoint
public static interface ResolverEndpoint.Builder extends SdkPojo, CopyableBuilder<ResolverEndpoint.Builder,ResolverEndpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolverEndpoint.Builderarn(String arn)The ARN (Amazon Resource Name) for the Resolver endpoint.ResolverEndpoint.BuildercreationTime(String creationTime)The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).ResolverEndpoint.BuildercreatorRequestId(String creatorRequestId)A unique string that identifies the request that created the Resolver endpoint.ResolverEndpoint.Builderdirection(String direction)Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:ResolverEndpoint.Builderdirection(ResolverEndpointDirection direction)Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:ResolverEndpoint.BuilderhostVPCId(String hostVPCId)The ID of the VPC that you want to create the Resolver endpoint in.ResolverEndpoint.Builderid(String id)The ID of the Resolver endpoint.ResolverEndpoint.BuilderipAddressCount(Integer ipAddressCount)The number of IP addresses that the Resolver endpoint can use for DNS queries.ResolverEndpoint.BuildermodificationTime(String modificationTime)The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).ResolverEndpoint.Buildername(String name)The name that you assigned to the Resolver endpoint when you submitted a CreateResolverEndpoint request.ResolverEndpoint.BuilderoutpostArn(String outpostArn)The ARN (Amazon Resource Name) for the Outpost.ResolverEndpoint.BuilderpreferredInstanceType(String preferredInstanceType)The Amazon EC2 instance type.ResolverEndpoint.Builderprotocols(Collection<Protocol> protocols)Protocols used for the endpoint.ResolverEndpoint.Builderprotocols(Protocol... protocols)Protocols used for the endpoint.ResolverEndpoint.BuilderprotocolsWithStrings(String... protocols)Protocols used for the endpoint.ResolverEndpoint.BuilderprotocolsWithStrings(Collection<String> protocols)Protocols used for the endpoint.ResolverEndpoint.BuilderresolverEndpointType(String resolverEndpointType)The Resolver endpoint IP address type.ResolverEndpoint.BuilderresolverEndpointType(ResolverEndpointType resolverEndpointType)The Resolver endpoint IP address type.ResolverEndpoint.BuildersecurityGroupIds(String... securityGroupIds)The ID of one or more security groups that control access to this VPC.ResolverEndpoint.BuildersecurityGroupIds(Collection<String> securityGroupIds)The ID of one or more security groups that control access to this VPC.ResolverEndpoint.Builderstatus(String status)A code that specifies the current status of the Resolver endpoint.ResolverEndpoint.Builderstatus(ResolverEndpointStatus status)A code that specifies the current status of the Resolver endpoint.ResolverEndpoint.BuilderstatusMessage(String statusMessage)A detailed description of the status of the Resolver endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
ResolverEndpoint.Builder id(String id)
The ID of the Resolver endpoint.
- Parameters:
id- The ID of the Resolver endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorRequestId
ResolverEndpoint.Builder creatorRequestId(String creatorRequestId)
A unique string that identifies the request that created the Resolver endpoint. The
CreatorRequestIdallows failed requests to be retried without the risk of running the operation twice.- Parameters:
creatorRequestId- A unique string that identifies the request that created the Resolver endpoint. TheCreatorRequestIdallows failed requests to be retried without the risk of running the operation twice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ResolverEndpoint.Builder arn(String arn)
The ARN (Amazon Resource Name) for the Resolver endpoint.
- Parameters:
arn- The ARN (Amazon Resource Name) for the Resolver endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ResolverEndpoint.Builder name(String name)
The name that you assigned to the Resolver endpoint when you submitted a CreateResolverEndpoint request.
- Parameters:
name- The name that you assigned to the Resolver endpoint when you submitted a CreateResolverEndpoint request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
ResolverEndpoint.Builder securityGroupIds(Collection<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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
ResolverEndpoint.Builder securityGroupIds(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
direction
ResolverEndpoint.Builder direction(String 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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverEndpointDirection,ResolverEndpointDirection
-
-
direction
ResolverEndpoint.Builder direction(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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverEndpointDirection,ResolverEndpointDirection
-
-
ipAddressCount
ResolverEndpoint.Builder ipAddressCount(Integer ipAddressCount)
The number of IP addresses that the Resolver endpoint can use for DNS queries.
- Parameters:
ipAddressCount- The number of IP addresses that the Resolver endpoint can use for DNS queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostVPCId
ResolverEndpoint.Builder hostVPCId(String hostVPCId)
The ID of the VPC that you want to create the Resolver endpoint in.
- Parameters:
hostVPCId- The ID of the VPC that you want to create the Resolver endpoint in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ResolverEndpoint.Builder status(String 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 ofACTION_NEEDEDcan 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.
- Parameters:
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 ofACTION_NEEDEDcan 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverEndpointStatus,ResolverEndpointStatus
-
-
status
ResolverEndpoint.Builder status(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 ofACTION_NEEDEDcan 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.
- Parameters:
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 ofACTION_NEEDEDcan 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverEndpointStatus,ResolverEndpointStatus
-
-
statusMessage
ResolverEndpoint.Builder statusMessage(String statusMessage)
A detailed description of the status of the Resolver endpoint.
- Parameters:
statusMessage- A detailed description of the status of the Resolver endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
ResolverEndpoint.Builder creationTime(String creationTime)
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
- Parameters:
creationTime- The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modificationTime
ResolverEndpoint.Builder modificationTime(String modificationTime)
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
- Parameters:
modificationTime- The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostArn
ResolverEndpoint.Builder outpostArn(String outpostArn)
The ARN (Amazon Resource Name) for the Outpost.
- Parameters:
outpostArn- The ARN (Amazon Resource Name) for the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredInstanceType
ResolverEndpoint.Builder preferredInstanceType(String preferredInstanceType)
The Amazon EC2 instance type.
- Parameters:
preferredInstanceType- The Amazon EC2 instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolverEndpointType
ResolverEndpoint.Builder resolverEndpointType(String resolverEndpointType)
The Resolver endpoint IP address type.
- Parameters:
resolverEndpointType- The Resolver endpoint IP address type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverEndpointType,ResolverEndpointType
-
resolverEndpointType
ResolverEndpoint.Builder resolverEndpointType(ResolverEndpointType resolverEndpointType)
The Resolver endpoint IP address type.
- Parameters:
resolverEndpointType- The Resolver endpoint IP address type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverEndpointType,ResolverEndpointType
-
protocolsWithStrings
ResolverEndpoint.Builder protocolsWithStrings(Collection<String> protocols)
Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocolsWithStrings
ResolverEndpoint.Builder protocolsWithStrings(String... protocols)
Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocols
ResolverEndpoint.Builder protocols(Collection<Protocol> protocols)
Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocols
ResolverEndpoint.Builder protocols(Protocol... protocols)
Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-