@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 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
running an operation twice.
|
String |
description()
The description that you specify for the namespace when you create it.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
NamespaceType |
type()
The type of the namespace.
|
String |
typeAsString()
The type of the namespace.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of a namespace.
public final String arn()
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
public final String name()
The name of the namespace, such as example.com.
example.com.public final NamespaceType type()
The type of the namespace. The methods for discovering instances depends on the value that you specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances API.
Instances can be discovered using public DNS queries and using the DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.
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().
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.
NamespaceTypepublic final String typeAsString()
The type of the namespace. The methods for discovering instances depends on the value that you specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances API.
Instances can be discovered using public DNS queries and using the DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.
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().
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.
NamespaceTypepublic final String description()
The description that you specify for the namespace when you create it.
public final Integer serviceCount()
The number of services that are associated with the namespace.
public final NamespaceProperties properties()
A complex type that contains information that's specific to the type of the namespace.
public final 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 final String creatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
public Namespace.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Namespace.Builder,Namespace>public static Namespace.Builder builder()
public static Class<? extends Namespace.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.