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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HostedZone.BuildercallerReference(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.HostedZone.Builderconfig(HostedZoneConfig config)A complex type that includes theCommentandPrivateZoneelements.HostedZone.Builderid(String id)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.HostedZone.BuilderlinkedService(LinkedService linkedService)If the hosted zone was created by another service, the service that created the hosted zone.HostedZone.Buildername(String name)The name of the domain.HostedZone.BuilderresourceRecordSetCount(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 Detail
-
id
HostedZone.Builder id(String 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
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.- 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
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
HostedZone.Builder config(HostedZoneConfig 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
default HostedZone.Builder config(Consumer<HostedZoneConfig.Builder> 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:
config(HostedZoneConfig)
-
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 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:
linkedService(LinkedService)
-
-