@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
public final 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 final String callerReference()
The value that you specified for CallerReference when you created the hosted zone.
CallerReference when you created the hosted zone.public final 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 final Long resourceRecordSetCount()
The number of resource record sets in the hosted zone.
public final 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()
toBuilder in interface ToCopyableBuilder<HostedZone.Builder,HostedZone>public static HostedZone.Builder builder()
public static Class<? extends HostedZone.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.