Interface HostedZone.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HostedZone.Builder,HostedZone>, SdkBuilder<HostedZone.Builder,HostedZone>, SdkPojo
Enclosing class:
HostedZone

public static interface HostedZone.Builder extends SdkPojo, CopyableBuilder<HostedZone.Builder,HostedZone>
  • Method Details

    • id

      The ID that Amazon Route 53 assigned to the hosted zone when you created it.

      Parameters:
      id - The ID that Amazon Route 53 assigned to the hosted zone when you created it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

      For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

      Parameters:
      name - The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

      For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

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

      HostedZone.Builder callerReference(String callerReference)

      The value that you specified for CallerReference when you created the hosted zone.

      Parameters:
      callerReference - The value that you specified for CallerReference when you created the hosted zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response.

      Parameters:
      config - A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to config(HostedZoneConfig).

      Parameters:
      config - a consumer that will call methods on HostedZoneConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceRecordSetCount

      HostedZone.Builder resourceRecordSetCount(Long resourceRecordSetCount)

      The number of resource record sets in the hosted zone.

      Parameters:
      resourceRecordSetCount - The number of resource record sets in the hosted zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedService

      HostedZone.Builder linkedService(LinkedService linkedService)

      If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53.

      Parameters:
      linkedService - If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedService

      default HostedZone.Builder linkedService(Consumer<LinkedService.Builder> linkedService)

      If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to linkedService(LinkedService).

      Parameters:
      linkedService - a consumer that will call methods on LinkedService.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: