Interface Namespace.Builder

    • Method Detail

      • id

        Namespace.Builder id​(String id)

        The ID of a namespace.

        Parameters:
        id - The ID of a namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        Namespace.Builder arn​(String arn)

        The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.

        Parameters:
        arn - The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Namespace.Builder name​(String name)

        The name of the namespace, such as example.com.

        Parameters:
        name - The name of the namespace, such as example.com.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Namespace.Builder type​(String 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 DiscoverInstances API.

        DNS_PUBLIC

        Instances can be discovered using public DNS queries and using the DiscoverInstances API.

        DNS_PRIVATE

        Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.

        Parameters:
        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 DiscoverInstances API.

        DNS_PUBLIC

        Instances can be discovered using public DNS queries and using the DiscoverInstances API.

        DNS_PRIVATE

        Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NamespaceType, NamespaceType
      • type

        Namespace.Builder type​(NamespaceType 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 DiscoverInstances API.

        DNS_PUBLIC

        Instances can be discovered using public DNS queries and using the DiscoverInstances API.

        DNS_PRIVATE

        Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.

        Parameters:
        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 DiscoverInstances API.

        DNS_PUBLIC

        Instances can be discovered using public DNS queries and using the DiscoverInstances API.

        DNS_PRIVATE

        Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NamespaceType, NamespaceType
      • description

        Namespace.Builder description​(String description)

        The description that you specify for the namespace when you create it.

        Parameters:
        description - The description that you specify for the namespace when you create it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceCount

        Namespace.Builder serviceCount​(Integer serviceCount)

        The number of services that are associated with the namespace.

        Parameters:
        serviceCount - The number of services that are associated with the namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • properties

        Namespace.Builder properties​(NamespaceProperties properties)

        A complex type that contains information that's specific to the type of the namespace.

        Parameters:
        properties - A complex type that contains information that's specific to the type of the namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createDate

        Namespace.Builder createDate​(Instant createDate)

        The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        Parameters:
        createDate - The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creatorRequestId

        Namespace.Builder creatorRequestId​(String creatorRequestId)

        A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.