Interface UpdateHostedZoneFeaturesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateHostedZoneFeaturesRequest.Builder,,UpdateHostedZoneFeaturesRequest> Route53Request.Builder,SdkBuilder<UpdateHostedZoneFeaturesRequest.Builder,,UpdateHostedZoneFeaturesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateHostedZoneFeaturesRequest
-
Method Summary
Modifier and TypeMethodDescriptionchangeGuardrails(Collection<ChangeGuardrail> changeGuardrails) Specify the Change Guardrails to turn on or off for the hosted zone.changeGuardrails(Consumer<ChangeGuardrail.Builder>... changeGuardrails) Specify the Change Guardrails to turn on or off for the hosted zone.changeGuardrails(ChangeGuardrail... changeGuardrails) Specify the Change Guardrails to turn on or off for the hosted zone.Specifies whether to validate the request without changing any features.enableAcceleratedRecovery(Boolean enableAcceleratedRecovery) Specifies whether to enable accelerated recovery for the hosted zone.enablePublicDNSFallback(Boolean enablePublicDNSFallback) Specifies whether to enable public DNS fallback for the hosted zone.hostedZoneId(String hostedZoneId) The ID of the hosted zone for which you want to update features.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
hostedZoneId
The ID of the hosted zone for which you want to update features. This is the unique identifier for your hosted zone.
- Parameters:
hostedZoneId- The ID of the hosted zone for which you want to update features. This is the unique identifier for your hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableAcceleratedRecovery
UpdateHostedZoneFeaturesRequest.Builder enableAcceleratedRecovery(Boolean enableAcceleratedRecovery) Specifies whether to enable accelerated recovery for the hosted zone. Set to
trueto enable accelerated recovery, orfalseto disable it.- Parameters:
enableAcceleratedRecovery- Specifies whether to enable accelerated recovery for the hosted zone. Set totrueto enable accelerated recovery, orfalseto disable it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enablePublicDNSFallback
Specifies whether to enable public DNS fallback for the hosted zone. Set to
trueto enable public DNS fallback, orfalseto disable it.Public DNS fallback applies to the entire hosted zone and to all VPCs that are associated with it. To check whether a change has propagated, call
GetHostedZoneand reviewPublicDNSFallbackStatusin the response.Public DNS fallback is supported only for private hosted zones.
- Parameters:
enablePublicDNSFallback- Specifies whether to enable public DNS fallback for the hosted zone. Set totrueto enable public DNS fallback, orfalseto disable it.Public DNS fallback applies to the entire hosted zone and to all VPCs that are associated with it. To check whether a change has propagated, call
GetHostedZoneand reviewPublicDNSFallbackStatusin the response.Public DNS fallback is supported only for private hosted zones.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeGuardrails
UpdateHostedZoneFeaturesRequest.Builder changeGuardrails(Collection<ChangeGuardrail> changeGuardrails) Specify the Change Guardrails to turn on or off for the hosted zone. Each entry specifies the name of a guardrail and one of the following statuses:
-
ENABLED: Turns on the guardrail. -
DISABLED: Turns off the guardrail.
Guardrails that aren't in the request keep their current status.
You can turn on an optional guardrail only if the tier of the hosted zone offers it. You can't turn off a guardrail that the tier includes, such as
NS_FORMAT_CHECK. In either case, Route 53 returns anInvalidInputerror.- Parameters:
changeGuardrails- Specify the Change Guardrails to turn on or off for the hosted zone. Each entry specifies the name of a guardrail and one of the following statuses:-
ENABLED: Turns on the guardrail. -
DISABLED: Turns off the guardrail.
Guardrails that aren't in the request keep their current status.
You can turn on an optional guardrail only if the tier of the hosted zone offers it. You can't turn off a guardrail that the tier includes, such as
NS_FORMAT_CHECK. In either case, Route 53 returns anInvalidInputerror.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
changeGuardrails
Specify the Change Guardrails to turn on or off for the hosted zone. Each entry specifies the name of a guardrail and one of the following statuses:
-
ENABLED: Turns on the guardrail. -
DISABLED: Turns off the guardrail.
Guardrails that aren't in the request keep their current status.
You can turn on an optional guardrail only if the tier of the hosted zone offers it. You can't turn off a guardrail that the tier includes, such as
NS_FORMAT_CHECK. In either case, Route 53 returns anInvalidInputerror.- Parameters:
changeGuardrails- Specify the Change Guardrails to turn on or off for the hosted zone. Each entry specifies the name of a guardrail and one of the following statuses:-
ENABLED: Turns on the guardrail. -
DISABLED: Turns off the guardrail.
Guardrails that aren't in the request keep their current status.
You can turn on an optional guardrail only if the tier of the hosted zone offers it. You can't turn off a guardrail that the tier includes, such as
NS_FORMAT_CHECK. In either case, Route 53 returns anInvalidInputerror.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
changeGuardrails
UpdateHostedZoneFeaturesRequest.Builder changeGuardrails(Consumer<ChangeGuardrail.Builder>... changeGuardrails) Specify the Change Guardrails to turn on or off for the hosted zone. Each entry specifies the name of a guardrail and one of the following statuses:
-
ENABLED: Turns on the guardrail. -
DISABLED: Turns off the guardrail.
Guardrails that aren't in the request keep their current status.
You can turn on an optional guardrail only if the tier of the hosted zone offers it. You can't turn off a guardrail that the tier includes, such as
This is a convenience method that creates an instance of theNS_FORMAT_CHECK. In either case, Route 53 returns anInvalidInputerror.ChangeGuardrail.Builderavoiding the need to create one manually viaChangeGuardrail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochangeGuardrails(List<ChangeGuardrail>).- Parameters:
changeGuardrails- a consumer that will call methods onChangeGuardrail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
dryRun
Specifies whether to validate the request without changing any features. Route 53 returns the same errors as for a real request, but doesn't change the hosted zone. The default is
false.- Parameters:
dryRun- Specifies whether to validate the request without changing any features. Route 53 returns the same errors as for a real request, but doesn't change the hosted zone. The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateHostedZoneFeaturesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateHostedZoneFeaturesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-