@Generated(value="software.amazon.awssdk:codegen") public final class HostedZone extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostedZone.Builder,HostedZone>
A complex type that contains general information about the hosted zone.
Modifier and Type | Class and Description |
---|---|
static interface |
HostedZone.Builder |
Modifier and Type | Method and Description |
---|---|
static HostedZone.Builder |
builder() |
String |
callerReference()
The value that you specified for
CallerReference when you created the hosted zone. |
HostedZoneConfig |
config()
A complex type that includes the
Comment and PrivateZone elements. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
|
LinkedService |
linkedService()
If the hosted zone was created by another service, the service that created the hosted zone.
|
String |
name()
The name of the domain.
|
Long |
resourceRecordSetCount()
The number of resource record sets in the hosted zone.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HostedZone.Builder> |
serializableBuilderClass() |
HostedZone.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
public 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.
For information about how to specify characters other than a-z
, 0-9
, and
-
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
public String callerReference()
The value that you specified for CallerReference
when you created the hosted zone.
CallerReference
when you created the hosted zone.public 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.
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.public Long resourceRecordSetCount()
The number of resource record sets in the hosted zone.
public 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.
public HostedZone.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HostedZone.Builder,HostedZone>
public static HostedZone.Builder builder()
public static Class<? extends HostedZone.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.