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 Summary
Modifier and TypeMethodDescriptionacceleratorIds
(String... acceleratorIds) The IDs of the accelerators to describe.acceleratorIds
(Collection<String> acceleratorIds) The IDs of the accelerators to describe.filters
(Collection<Filter> filters) One or more filters.filters
(Consumer<Filter.Builder>... filters) One or more filters.One or more filters.maxResults
(Integer maxResults) The total number of items to return in the command's output.A token to specify where to start paginating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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
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 theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- 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:
-
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeAcceleratorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-