Interface DescribeAcceleratorsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeAcceleratorsRequest.Builder,DescribeAcceleratorsRequest>,ElasticInferenceRequest.Builder,SdkBuilder<DescribeAcceleratorsRequest.Builder,DescribeAcceleratorsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeAcceleratorsRequest
public static interface DescribeAcceleratorsRequest.Builder extends ElasticInferenceRequest.Builder, SdkPojo, CopyableBuilder<DescribeAcceleratorsRequest.Builder,DescribeAcceleratorsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticinference.model.ElasticInferenceRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.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.
-
overrideConfiguration
DescribeAcceleratorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeAcceleratorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-