Interface DescribeAcceleratorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAcceleratorsResponse.Builder,,DescribeAcceleratorsResponse> ElasticInferenceResponse.Builder,SdkBuilder<DescribeAcceleratorsResponse.Builder,,DescribeAcceleratorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAcceleratorsResponse
public static interface DescribeAcceleratorsResponse.Builder
extends ElasticInferenceResponse.Builder, SdkPojo, CopyableBuilder<DescribeAcceleratorsResponse.Builder,DescribeAcceleratorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorSet(Collection<ElasticInferenceAccelerator> acceleratorSet) The details of the Elastic Inference Accelerators.acceleratorSet(Consumer<ElasticInferenceAccelerator.Builder>... acceleratorSet) The details of the Elastic Inference Accelerators.acceleratorSet(ElasticInferenceAccelerator... acceleratorSet) The details of the Elastic Inference Accelerators.A token to specify where to start paginating.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticinference.model.ElasticInferenceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
acceleratorSet
DescribeAcceleratorsResponse.Builder acceleratorSet(Collection<ElasticInferenceAccelerator> acceleratorSet) The details of the Elastic Inference Accelerators.
- Parameters:
acceleratorSet- The details of the Elastic Inference Accelerators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorSet
The details of the Elastic Inference Accelerators.
- Parameters:
acceleratorSet- The details of the Elastic Inference Accelerators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorSet
DescribeAcceleratorsResponse.Builder acceleratorSet(Consumer<ElasticInferenceAccelerator.Builder>... acceleratorSet) The details of the Elastic Inference Accelerators.
This is a convenience method that creates an instance of theElasticInferenceAccelerator.Builderavoiding the need to create one manually viaElasticInferenceAccelerator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toacceleratorSet(List<ElasticInferenceAccelerator>).- Parameters:
acceleratorSet- a consumer that will call methods onElasticInferenceAccelerator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-