Interface ListServiceInstancesRequest.Builder

    • Method Detail

      • filters

        ListServiceInstancesRequest.Builder filters​(Collection<ListServiceInstancesFilter> filters)

        An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.

        Parameters:
        filters - An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListServiceInstancesRequest.Builder filters​(ListServiceInstancesFilter... filters)

        An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.

        Parameters:
        filters - An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListServiceInstancesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of service instances to list.

        Parameters:
        maxResults - The maximum number of service instances to list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListServiceInstancesRequest.Builder nextToken​(String nextToken)

        A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.

        Parameters:
        nextToken - A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        ListServiceInstancesRequest.Builder serviceName​(String serviceName)

        The name of the service that the service instance belongs to.

        Parameters:
        serviceName - The name of the service that the service instance belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListServiceInstancesRequest.Builder sortBy​(String sortBy)

        The field that the result list is sorted by.

        When you choose to sort by serviceName, service instances within each service are sorted by service instance name.

        Default: serviceName

        Parameters:
        sortBy - The field that the result list is sorted by.

        When you choose to sort by serviceName, service instances within each service are sorted by service instance name.

        Default: serviceName

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

        ListServiceInstancesRequest.Builder sortBy​(ListServiceInstancesSortBy sortBy)

        The field that the result list is sorted by.

        When you choose to sort by serviceName, service instances within each service are sorted by service instance name.

        Default: serviceName

        Parameters:
        sortBy - The field that the result list is sorted by.

        When you choose to sort by serviceName, service instances within each service are sorted by service instance name.

        Default: serviceName

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

        ListServiceInstancesRequest.Builder sortOrder​(String sortOrder)

        Result list sort order.

        Default: ASCENDING

        Parameters:
        sortOrder - Result list sort order.

        Default: ASCENDING

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

        ListServiceInstancesRequest.Builder sortOrder​(SortOrder sortOrder)

        Result list sort order.

        Default: ASCENDING

        Parameters:
        sortOrder - Result list sort order.

        Default: ASCENDING

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