@Generated(value="software.amazon.awssdk:codegen") public final class Namespace extends Object implements StructuredPojo, ToCopyableBuilder<Namespace.Builder,Namespace>
A complex type that contains information about a specified namespace.
Modifier and Type | Class and Description |
---|---|
static interface |
Namespace.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
|
static Namespace.Builder |
builder() |
Instant |
createDate()
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
|
String |
creatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests.
|
String |
description()
The description that you specify for the namespace when you create it.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of a namespace.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the namespace, such as
example.com . |
NamespaceProperties |
properties()
A complex type that contains information that's specific to the type of the namespace.
|
static Class<? extends Namespace.Builder> |
serializableBuilderClass() |
Integer |
serviceCount()
The number of services that are associated with the namespace.
|
Namespace.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
NamespaceType |
type()
The type of the namespace.
|
String |
typeAsString()
The type of the namespace.
|
copy
public String id()
The ID of a namespace.
public String arn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
public String name()
The name of the namespace, such as example.com
.
example.com
.public NamespaceType type()
The type of the namespace. Valid values are DNS_PUBLIC
and DNS_PRIVATE
.
If the service returns an enum value that is not available in the current SDK version, type
will return
NamespaceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DNS_PUBLIC
and DNS_PRIVATE
.NamespaceType
public String typeAsString()
The type of the namespace. Valid values are DNS_PUBLIC
and DNS_PRIVATE
.
If the service returns an enum value that is not available in the current SDK version, type
will return
NamespaceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DNS_PUBLIC
and DNS_PRIVATE
.NamespaceType
public String description()
The description that you specify for the namespace when you create it.
public Integer serviceCount()
The number of services that are associated with the namespace.
public NamespaceProperties properties()
A complex type that contains information that's specific to the type of the namespace.
public Instant createDate()
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
public String creatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests. CreatorRequestId
helps to determine if a specific client owns the namespace.
CreatorRequestId
helps to determine if a specific client owns the namespace.public Namespace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Namespace.Builder,Namespace>
public static Namespace.Builder builder()
public static Class<? extends Namespace.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.