Interface NamespaceSummary.Builder

  • Method Details

    • id

      The ID of the namespace.

      Parameters:
      id - The ID of the namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      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.

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

      The type of the namespace, either public or private.

      Parameters:
      type - The type of the namespace, either public or private.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the namespace, either public or private.

      Parameters:
      type - The type of the namespace, either public or private.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      NamespaceSummary.Builder description(String description)

      A description for the namespace.

      Parameters:
      description - A description for the namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceCount

      NamespaceSummary.Builder serviceCount(Integer serviceCount)

      The number of services that were created using the namespace.

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

      The properties of the namespace.

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

      The properties of the namespace.

      This is a convenience method that creates an instance of the NamespaceProperties.Builder avoiding the need to create one manually via NamespaceProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to properties(NamespaceProperties).

      Parameters:
      properties - a consumer that will call methods on NamespaceProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createDate

      NamespaceSummary.Builder createDate(Instant createDate)

      The date and time that the namespace was created.

      Parameters:
      createDate - The date and time that the namespace was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.