Interface ListNamespacesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListNamespacesResponse.Builder,ListNamespacesResponse>, SdkBuilder<ListNamespacesResponse.Builder,ListNamespacesResponse>, SdkPojo, SdkResponse.Builder, ServiceDiscoveryResponse.Builder
Enclosing class:
ListNamespacesResponse

  • Method Details

    • namespaces

      An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.

      Parameters:
      namespaces - An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.

      Parameters:
      namespaces - An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to namespaces(List<NamespaceSummary>).

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

      ListNamespacesResponse.Builder nextToken(String nextToken)

      If the response contains NextToken, submit another ListNamespaces request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

      Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria. It's possible that no namespaces in the first MaxResults namespaces matched the specified criteria but that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.

      Parameters:
      nextToken - If the response contains NextToken, submit another ListNamespaces request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

      Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria. It's possible that no namespaces in the first MaxResults namespaces matched the specified criteria but that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.

      Returns:
      Returns a reference to this object so that method calls can be chained together.