Interface DescribeAcceleratorTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAcceleratorTypesResponse.Builder,
,DescribeAcceleratorTypesResponse> ElasticInferenceResponse.Builder
,SdkBuilder<DescribeAcceleratorTypesResponse.Builder,
,DescribeAcceleratorTypesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAcceleratorTypesResponse
public static interface DescribeAcceleratorTypesResponse.Builder
extends ElasticInferenceResponse.Builder, SdkPojo, CopyableBuilder<DescribeAcceleratorTypesResponse.Builder,DescribeAcceleratorTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorTypes
(Collection<AcceleratorType> acceleratorTypes) The available accelerator types.acceleratorTypes
(Consumer<AcceleratorType.Builder>... acceleratorTypes) The available accelerator types.acceleratorTypes
(AcceleratorType... acceleratorTypes) The available accelerator types.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticinference.model.ElasticInferenceResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
acceleratorTypes
DescribeAcceleratorTypesResponse.Builder acceleratorTypes(Collection<AcceleratorType> acceleratorTypes) The available accelerator types.
- Parameters:
acceleratorTypes
- The available accelerator types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypes
The available accelerator types.
- Parameters:
acceleratorTypes
- The available accelerator types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypes
DescribeAcceleratorTypesResponse.Builder acceleratorTypes(Consumer<AcceleratorType.Builder>... acceleratorTypes) The available accelerator types.
This is a convenience method that creates an instance of theAcceleratorType.Builder
avoiding the need to create one manually viaAcceleratorType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacceleratorTypes(List<AcceleratorType>)
.- Parameters:
acceleratorTypes
- a consumer that will call methods onAcceleratorType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-