public static interface HostedZone.Builder extends CopyableBuilder<HostedZone.Builder,HostedZone>
Modifier and Type | Method and Description |
---|---|
HostedZone.Builder |
callerReference(String callerReference)
The value that you specified for
CallerReference when you created the hosted zone. |
default HostedZone.Builder |
config(Consumer<HostedZoneConfig.Builder> config)
A complex type that includes the
Comment and PrivateZone elements. |
HostedZone.Builder |
config(HostedZoneConfig config)
A complex type that includes the
Comment and PrivateZone elements. |
HostedZone.Builder |
id(String id)
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
|
default HostedZone.Builder |
linkedService(Consumer<LinkedService.Builder> linkedService)
If the hosted zone was created by another service, the service that created the hosted zone.
|
HostedZone.Builder |
linkedService(LinkedService linkedService)
If the hosted zone was created by another service, the service that created the hosted zone.
|
HostedZone.Builder |
name(String name)
The name of the domain.
|
HostedZone.Builder |
resourceRecordSetCount(Long resourceRecordSetCount)
The number of resource record sets in the hosted zone.
|
copy
applyMutation, build
HostedZone.Builder id(String id)
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
id
- The ID that Amazon Route 53 assigned to the hosted zone when you created it.HostedZone.Builder name(String 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.
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.
HostedZone.Builder callerReference(String callerReference)
The value that you specified for CallerReference
when you created the hosted zone.
callerReference
- The value that you specified for CallerReference
when you created the hosted zone.HostedZone.Builder config(HostedZoneConfig 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.
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.default HostedZone.Builder config(Consumer<HostedZoneConfig.Builder> 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.
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)
.config
- a consumer that will call methods on HostedZoneConfig.Builder
config(HostedZoneConfig)
HostedZone.Builder resourceRecordSetCount(Long resourceRecordSetCount)
The number of resource record sets in the hosted zone.
resourceRecordSetCount
- The number of resource record sets in the hosted zone.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 Amazon Route 53.
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 Amazon Route 53.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 Amazon Route 53.
This is a convenience that creates an instance of theLinkedService.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)
.linkedService
- a consumer that will call methods on LinkedService.Builder
linkedService(LinkedService)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.