Interface CreateOutpostResolverRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateOutpostResolverRequest.Builder,
,CreateOutpostResolverRequest> Route53ResolverRequest.Builder
,SdkBuilder<CreateOutpostResolverRequest.Builder,
,CreateOutpostResolverRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateOutpostResolverRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreatorRequestId
(String creatorRequestId) A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.instanceCount
(Integer instanceCount) Number of Amazon EC2 instances for the Resolver on Outpost.A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.outpostArn
(String outpostArn) The Amazon Resource Name (ARN) of the Outpost.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.preferredInstanceType
(String preferredInstanceType) The Amazon EC2 instance type.tags
(Collection<Tag> tags) A string that helps identify the Route 53 Resolvers on Outpost.tags
(Consumer<Tag.Builder>... tags) A string that helps identify the Route 53 Resolvers on Outpost.A string that helps identify the Route 53 Resolvers on Outpost.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
creatorRequestId
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.- Parameters:
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.CreatorRequestId
can be any unique string, for example, a date/time stamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
- Parameters:
name
- A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
- Parameters:
instanceCount
- Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredInstanceType
The Amazon EC2 instance type. If you specify this, you must also specify a value for the
OutpostArn
.- Parameters:
preferredInstanceType
- The Amazon EC2 instance type. If you specify this, you must also specify a value for theOutpostArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostArn
The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the
PreferredInstanceType
.- Parameters:
outpostArn
- The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for thePreferredInstanceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A string that helps identify the Route 53 Resolvers on Outpost.
- Parameters:
tags
- A string that helps identify the Route 53 Resolvers on Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A string that helps identify the Route 53 Resolvers on Outpost.
- Parameters:
tags
- A string that helps identify the Route 53 Resolvers on Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A string that helps identify the Route 53 Resolvers on Outpost.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateOutpostResolverRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOutpostResolverRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-