Interface ListPresetsRequest.Builder

    • Method Detail

      • category

        ListPresetsRequest.Builder category​(String category)
        Optionally, specify a preset category to limit responses to only presets from that category.
        Parameters:
        category - Optionally, specify a preset category to limit responses to only presets from that category.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • listBy

        ListPresetsRequest.Builder listBy​(String listBy)
        Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
        Parameters:
        listBy - Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PresetListBy, PresetListBy
      • listBy

        ListPresetsRequest.Builder listBy​(PresetListBy listBy)
        Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
        Parameters:
        listBy - Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PresetListBy, PresetListBy
      • maxResults

        ListPresetsRequest.Builder maxResults​(Integer maxResults)
        Optional. Number of presets, up to twenty, that will be returned at one time
        Parameters:
        maxResults - Optional. Number of presets, up to twenty, that will be returned at one time
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPresetsRequest.Builder nextToken​(String nextToken)
        Use this string, provided with the response to a previous request, to request the next batch of presets.
        Parameters:
        nextToken - Use this string, provided with the response to a previous request, to request the next batch of presets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • order

        ListPresetsRequest.Builder order​(String order)
        Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Parameters:
        order - Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Order, Order
      • order

        ListPresetsRequest.Builder order​(Order order)
        Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Parameters:
        order - Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Order, Order