Class NamespaceSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
A complex type that contains information about a namespace.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.static NamespaceSummary.Builderbuilder()final InstantThe date and time that the namespace was created.final StringA description for the namespace.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The ID of the namespace.final Stringname()The name of the namespace.final NamespacePropertiesThe properties of the namespace.final StringThe ID of the Amazon Web Services account that created the namespace.static Class<? extends NamespaceSummary.Builder> final IntegerThe number of services that were created using the namespace.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final NamespaceTypetype()The type of the namespace, either public or private.final StringThe type of the namespace, either public or private.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
-
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.
-
resourceOwner
The ID of the Amazon Web Services account that created the namespace. If this isn't your account ID, it's the ID of the account that shared the namespace with your account. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
- Returns:
- The ID of the Amazon Web Services account that created the namespace. If this isn't your account ID, it's the ID of the account that shared the namespace with your account. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
-
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
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:
-
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:
-
description
A description for the namespace.
- Returns:
- A description for the namespace.
-
serviceCount
The number of services that were created using the namespace.
- Returns:
- The number of services that were created using the namespace.
-
properties
The properties of the namespace.
- Returns:
- The properties of the namespace.
-
createDate
The date and time that the namespace was created.
- Returns:
- The date and time that the namespace was created.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-