Interface DescribeAcceleratorsRequest.Builder

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

  • Method Details

    • 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

      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

      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

      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<Filter>).

      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:
    • 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

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

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