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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticinference.model.ElasticInferenceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-