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 forCallerReferencewhen you created the hosted zone.default HostedZone.Builderconfig(Consumer<HostedZoneConfig.Builder> config) A complex type that includes theCommentandPrivateZoneelements.config(HostedZoneConfig config) A complex type that includes theCommentandPrivateZoneelements.The ID that Amazon Route 53 assigned to the hosted zone when you created it.default HostedZone.BuilderlinkedService(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
CallerReferencewhen you created the hosted zone.- Parameters:
callerReference- The value that you specified forCallerReferencewhen 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
CommentandPrivateZoneelements. If you omitted theHostedZoneConfigandCommentelements from the request, theConfigandCommentelements don't appear in the response.- Parameters:
config- A complex type that includes theCommentandPrivateZoneelements. If you omitted theHostedZoneConfigandCommentelements from the request, theConfigandCommentelements 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 theCommentandPrivateZoneelements. If you omitted theHostedZoneConfigandCommentelements from the request, theConfigandCommentelements don't appear in the response.HostedZoneConfig.Builderavoiding the need to create one manually viaHostedZoneConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLinkedService.builder().When the
Consumercompletes,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:
-