@Generated(value="software.amazon.awssdk:codegen") public final class Namespace extends Object implements SdkPojo, Serializable, 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 AWS Cloud Map 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()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing an operation twice.
|
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
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 AWS Cloud Map 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). The value
of CreateDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public String creatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of executing an operation twice.
public Namespace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Namespace.Builder,Namespace>
public static Namespace.Builder builder()
public static Class<? extends Namespace.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.