Interface ListNamespacesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListNamespacesRequest.Builder,ListNamespacesRequest>, SdkBuilder<ListNamespacesRequest.Builder,ListNamespacesRequest>, SdkPojo, SdkRequest.Builder, ServiceDiscoveryRequest.Builder
Enclosing class:
ListNamespacesRequest

public static interface ListNamespacesRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<ListNamespacesRequest.Builder,ListNamespacesRequest>
  • Method Details

    • nextToken

      ListNamespacesRequest.Builder nextToken(String nextToken)

      For the first ListNamespaces request, omit this value.

      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 - For the first ListNamespaces request, omit this value.

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

      ListNamespacesRequest.Builder maxResults(Integer maxResults)

      The maximum number of namespaces that you want Cloud Map to return in the response to a ListNamespaces request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 namespaces.

      Parameters:
      maxResults - The maximum number of namespaces that you want Cloud Map to return in the response to a ListNamespaces request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      A complex type that contains specifications for the namespaces that you want to list.

      If you specify more than one filter, a namespace must match all filters to be returned by ListNamespaces.

      Parameters:
      filters - A complex type that contains specifications for the namespaces that you want to list.

      If you specify more than one filter, a namespace must match all filters to be returned by ListNamespaces.

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

      A complex type that contains specifications for the namespaces that you want to list.

      If you specify more than one filter, a namespace must match all filters to be returned by ListNamespaces.

      Parameters:
      filters - A complex type that contains specifications for the namespaces that you want to list.

      If you specify more than one filter, a namespace must match all filters to be returned by ListNamespaces.

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

      A complex type that contains specifications for the namespaces that you want to list.

      If you specify more than one filter, a namespace must match all filters to be returned by ListNamespaces.

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

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

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

      ListNamespacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.