Interface DescribeAcceleratorsRequest.Builder

    • Method Detail

      • acceleratorIds

        DescribeAcceleratorsRequest.Builder acceleratorIds​(Collection<String> acceleratorIds)

        The IDs of the accelerators to describe.

        Parameters:
        acceleratorIds - The IDs of the accelerators to describe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • acceleratorIds

        DescribeAcceleratorsRequest.Builder acceleratorIds​(String... acceleratorIds)

        The IDs of the accelerators to describe.

        Parameters:
        acceleratorIds - The IDs of the accelerators to describe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeAcceleratorsRequest.Builder filters​(Collection<Filter> filters)

        One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.

        Parameters:
        filters - One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeAcceleratorsRequest.Builder filters​(Filter... filters)

        One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.

        Parameters:
        filters - One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeAcceleratorsRequest.Builder filters​(Consumer<Filter.Builder>... filters)

        One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.

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

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

        Parameters:
        filters - a consumer that will call methods on Filter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • maxResults

        DescribeAcceleratorsRequest.Builder maxResults​(Integer maxResults)

        The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.

        Parameters:
        maxResults - The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeAcceleratorsRequest.Builder nextToken​(String nextToken)

        A token to specify where to start paginating. This is the NextToken from a previously truncated response.

        Parameters:
        nextToken - A token to specify where to start paginating. This is the NextToken from a previously truncated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.