Interface CreateTrafficPolicyInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,
,CreateTrafficPolicyInstanceRequest> Route53Request.Builder
,SdkBuilder<CreateTrafficPolicyInstanceRequest.Builder,
,CreateTrafficPolicyInstanceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTrafficPolicyInstanceRequest
@Mutable
@NotThreadSafe
public static interface CreateTrafficPolicyInstanceRequest.Builder
extends Route53Request.Builder, SdkPojo, CopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneId
(String hostedZoneId) The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.trafficPolicyId
(String trafficPolicyId) The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.trafficPolicyVersion
(Integer trafficPolicyVersion) The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.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.route53.model.Route53Request.Builder
build
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 Details
-
hostedZoneId
The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.
- Parameters:
hostedZoneId
- The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.
- Parameters:
name
- The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ttl
(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
- Parameters:
ttl
- (Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyId
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Parameters:
trafficPolicyId
- The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficPolicyVersion
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Parameters:
trafficPolicyVersion
- The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTrafficPolicyInstanceRequest.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
CreateTrafficPolicyInstanceRequest.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.
-