Class NamespaceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.servicediscovery.model.NamespaceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNamespaceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.static NamespaceSummary.Builderbuilder()InstantcreateDate()The date and time that the namespace was created.Stringdescription()A description for the namespace.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the namespace.Stringname()The name of the namespace.NamespacePropertiesproperties()The properties of the namespace.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NamespaceSummary.Builder>serializableBuilderClass()IntegerserviceCount()The number of services that were created using the namespace.NamespaceSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.NamespaceTypetype()The type of the namespace, either public or private.StringtypeAsString()The type of the namespace, either public or private.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The ID of the namespace.
- Returns:
- The ID of the namespace.
-
arn
public final String arn()
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
- Returns:
- The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
-
name
public final String name()
The name of the namespace. When you create a namespace, Cloud Map automatically creates a RouteĀ 53 hosted zone that has the same name as the namespace.
- Returns:
- The name of the namespace. When you create a namespace, Cloud Map automatically creates a RouteĀ 53 hosted zone that has the same name as the namespace.
-
type
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,
typewill returnNamespaceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the namespace, either public or private.
- See Also:
NamespaceType
-
typeAsString
public 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,
typewill returnNamespaceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the namespace, either public or private.
- See Also:
NamespaceType
-
description
public final String description()
A description for the namespace.
- Returns:
- A description for the namespace.
-
serviceCount
public final Integer serviceCount()
The number of services that were created using the namespace.
- Returns:
- The number of services that were created using the namespace.
-
properties
public final NamespaceProperties properties()
The properties of the namespace.
- Returns:
- The properties of the namespace.
-
createDate
public final Instant createDate()
The date and time that the namespace was created.
- Returns:
- The date and time that the namespace was created.
-
toBuilder
public NamespaceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
-
builder
public static NamespaceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends NamespaceSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-