Class NamespaceSummary

    • 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, type will return NamespaceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        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, type will return NamespaceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)