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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAcceleratorTypesResponse.BuilderacceleratorTypes(Collection<AcceleratorType> acceleratorTypes)The available accelerator types.DescribeAcceleratorTypesResponse.BuilderacceleratorTypes(Consumer<AcceleratorType.Builder>... acceleratorTypes)The available accelerator types.DescribeAcceleratorTypesResponse.BuilderacceleratorTypes(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 Detail
-
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
DescribeAcceleratorTypesResponse.Builder acceleratorTypes(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
DescribeAcceleratorTypesResponse.Builder acceleratorTypes(Consumer<AcceleratorType.Builder>... acceleratorTypes)
The available accelerator types.
This is a convenience method that creates an instance of theAcceleratorType.Builderavoiding the need to create one manually viaAcceleratorType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#acceleratorTypes(List.) - 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:
#acceleratorTypes(java.util.Collection)
-
-