Class Namespace
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Namespace.Builder,Namespace>
A complex type that contains information about a specified 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 Namespace.Builderbuilder()final InstantThe date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).final StringA unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.final StringThe description that you specify for the namespace when you create it.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 a namespace.final Stringname()The name of the namespace, such asexample.com.final NamespacePropertiesA complex type that contains information that's specific to the type of the namespace.static Class<? extends Namespace.Builder> final IntegerThe number of services that are associated with 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.final StringThe type of the namespace.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.
-
name
The name of the namespace, such as
example.com.- Returns:
- The name of the namespace, such as
example.com.
-
type
The type of the namespace. The methods for discovering instances depends on the value that you specify:
- HTTP
-
Instances can be discovered only programmatically, using the Cloud Map
DiscoverInstancesAPI. - DNS_PUBLIC
-
Instances can be discovered using public DNS queries and using the
DiscoverInstancesAPI. - DNS_PRIVATE
-
Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstancesAPI.
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. The methods for discovering instances depends on the value that you
specify:
- HTTP
-
Instances can be discovered only programmatically, using the Cloud Map
DiscoverInstancesAPI. - DNS_PUBLIC
-
Instances can be discovered using public DNS queries and using the
DiscoverInstancesAPI. - DNS_PRIVATE
-
Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstancesAPI.
- See Also:
-
typeAsString
The type of the namespace. The methods for discovering instances depends on the value that you specify:
- HTTP
-
Instances can be discovered only programmatically, using the Cloud Map
DiscoverInstancesAPI. - DNS_PUBLIC
-
Instances can be discovered using public DNS queries and using the
DiscoverInstancesAPI. - DNS_PRIVATE
-
Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstancesAPI.
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. The methods for discovering instances depends on the value that you
specify:
- HTTP
-
Instances can be discovered only programmatically, using the Cloud Map
DiscoverInstancesAPI. - DNS_PUBLIC
-
Instances can be discovered using public DNS queries and using the
DiscoverInstancesAPI. - DNS_PRIVATE
-
Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstancesAPI.
- See Also:
-
description
The description that you specify for the namespace when you create it.
- Returns:
- The description that you specify for the namespace when you create it.
-
serviceCount
The number of services that are associated with the namespace.
- Returns:
- The number of services that are associated with the namespace.
-
properties
A complex type that contains information that's specific to the type of the namespace.
- Returns:
- A complex type that contains information that's specific to the type of the namespace.
-
createDate
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC). The value of
CreateDateis accurate to milliseconds. For example, the value1516925490.087represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
The value of
CreateDateis accurate to milliseconds. For example, the value1516925490.087represents Friday, January 26, 2018 12:11:30.087 AM.
-
creatorRequestId
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
- Returns:
- A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
-
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<Namespace.Builder,Namespace> - 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
-