@Generated(value="software.amazon.awssdk:codegen") public final class NamespaceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
A complex type that contains information about a namespace.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NamespaceSummary.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 NamespaceSummary.Builder |
builder() |
Instant |
createDate()
The date and time that the namespace was created.
|
String |
description()
A description for the namespace.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the namespace.
|
String |
name()
The name of the namespace.
|
NamespaceProperties |
properties()
The properties of the namespace.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NamespaceSummary.Builder> |
serializableBuilderClass() |
Integer |
serviceCount()
The number of services that were created using the namespace.
|
NamespaceSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
NamespaceType |
type()
The type of the namespace, either public or private.
|
String |
typeAsString()
The type of the namespace, either public or private.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the namespace.
public final String arn()
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the namespace when you create it.
public final String name()
The name of the namespace. When you create a namespace, AWS Cloud Map automatically creates a RouteĀ 53 hosted zone that has the same name as the namespace.
public final NamespaceType type()
The type of the namespace, either public or 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().
NamespaceTypepublic final String typeAsString()
The type of the namespace, either public or 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().
NamespaceTypepublic final String description()
A description for the namespace.
public final Integer serviceCount()
The number of services that were created using the namespace.
public final NamespaceProperties properties()
The properties of the namespace.
public final Instant createDate()
The date and time that the namespace was created.
public NamespaceSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>public static NamespaceSummary.Builder builder()
public static Class<? extends NamespaceSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.