@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) |
<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()
Returns the value of the Properties property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NamespaceSummary.Builder> |
serializableBuilderClass() |
Integer |
serviceCount()
The number of services that were created using the namespace.
|
NamespaceSummary.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, either public or private.
|
String |
typeAsString()
The type of the namespace, either public or private.
|
copy
public String id()
The ID of the 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. When you create a namespace, AWS Cloud Map automatically creates a Route 53 hosted zone that has the same name as the namespace.
public 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()
.
NamespaceType
public 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()
.
NamespaceType
public String description()
A description for the namespace.
public Integer serviceCount()
The number of services that were created using the namespace.
public NamespaceProperties properties()
public Instant createDate()
The date and time that the namespace was created.
public NamespaceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
public static NamespaceSummary.Builder builder()
public static Class<? extends NamespaceSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.