Interface HostedZone.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HostedZone.Builder,
,HostedZone> SdkBuilder<HostedZone.Builder,
,HostedZone> SdkPojo
- Enclosing class:
HostedZone
-
Method Summary
Modifier and TypeMethodDescriptioncallerReference
(String callerReference) The value that you specified forCallerReference
when you created the hosted zone.default HostedZone.Builder
config
(Consumer<HostedZoneConfig.Builder> config) A complex type that includes theComment
andPrivateZone
elements.config
(HostedZoneConfig config) A complex type that includes theComment
andPrivateZone
elements.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.linkedService
(LinkedService linkedService) If the hosted zone was created by another service, the service that created the hosted zone.The name of the domain.resourceRecordSetCount
(Long resourceRecordSetCount) The number of resource record sets in the hosted zone.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
The value that you specified for
CallerReference
when you created the hosted zone.- Parameters:
callerReference
- The value that you specified forCallerReference
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
andPrivateZone
elements. If you omitted theHostedZoneConfig
andComment
elements from the request, theConfig
andComment
elements don't appear in the response.- Parameters:
config
- A complex type that includes theComment
andPrivateZone
elements. If you omitted theHostedZoneConfig
andComment
elements from the request, theConfig
andComment
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
This is a convenience method that creates an instance of theComment
andPrivateZone
elements. If you omitted theHostedZoneConfig
andComment
elements from the request, theConfig
andComment
elements don't appear in the response.HostedZoneConfig.Builder
avoiding the need to create one manually viaHostedZoneConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfig(HostedZoneConfig)
.- Parameters:
config
- a consumer that will call methods onHostedZoneConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theLinkedService.Builder
avoiding the need to create one manually viaLinkedService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolinkedService(LinkedService)
.- Parameters:
linkedService
- a consumer that will call methods onLinkedService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-