Interface ListServicesRequest.Builder

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

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

    • nextToken

      ListServicesRequest.Builder nextToken(String nextToken)

      For the first ListServices request, omit this value.

      If the response contains NextToken, submit another ListServices 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 services and then filters them based on the specified criteria. It's possible that no services in the first MaxResults services matched the specified criteria but that subsequent groups of MaxResults services do contain services that match the criteria.

      Parameters:
      nextToken - For the first ListServices request, omit this value.

      If the response contains NextToken, submit another ListServices 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 services and then filters them based on the specified criteria. It's possible that no services in the first MaxResults services matched the specified criteria but that subsequent groups of MaxResults services do contain services that match the criteria.

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

      ListServicesRequest.Builder maxResults(Integer maxResults)

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

      Parameters:
      maxResults - The maximum number of services that you want Cloud Map to return in the response to a ListServices request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 services.
      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 services for.

      If you specify more than one filter, an operation must match all filters to be returned by ListServices.

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

      If you specify more than one filter, an operation must match all filters to be returned by ListServices.

      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 services for.

      If you specify more than one filter, an operation must match all filters to be returned by ListServices.

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

      If you specify more than one filter, an operation must match all filters to be returned by ListServices.

      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 services for.

      If you specify more than one filter, an operation must match all filters to be returned by ListServices.

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

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

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

      ListServicesRequest.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.