Interface UpdateHostedZoneFeaturesRequest.Builder

  • Method Details

    • hostedZoneId

      UpdateHostedZoneFeaturesRequest.Builder hostedZoneId(String 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 true to enable accelerated recovery, or false to disable it.

      Parameters:
      enableAcceleratedRecovery - Specifies whether to enable accelerated recovery for the hosted zone. Set to true to enable accelerated recovery, or false to disable it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enablePublicDNSFallback

      UpdateHostedZoneFeaturesRequest.Builder enablePublicDNSFallback(Boolean enablePublicDNSFallback)

      Specifies whether to enable public DNS fallback for the hosted zone. Set to true to enable public DNS fallback, or false to 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 GetHostedZone and review PublicDNSFallbackStatus in 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 to true to enable public DNS fallback, or false to 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 GetHostedZone and review PublicDNSFallbackStatus in 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

      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 an InvalidInput error.

      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 an InvalidInput error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changeGuardrails

      UpdateHostedZoneFeaturesRequest.Builder changeGuardrails(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 an InvalidInput error.

      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 an InvalidInput error.

      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 an InvalidInput error.

      This is a convenience method that creates an instance of the ChangeGuardrail.Builder avoiding the need to create one manually via ChangeGuardrail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to changeGuardrails(List<ChangeGuardrail>).

      Parameters:
      changeGuardrails - a consumer that will call methods on ChangeGuardrail.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 is false.
      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.