Interface DescribeAcceleratorOfferingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAcceleratorOfferingsResponse.Builder,
,DescribeAcceleratorOfferingsResponse> ElasticInferenceResponse.Builder
,SdkBuilder<DescribeAcceleratorOfferingsResponse.Builder,
,DescribeAcceleratorOfferingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAcceleratorOfferingsResponse
public static interface DescribeAcceleratorOfferingsResponse.Builder
extends ElasticInferenceResponse.Builder, SdkPojo, CopyableBuilder<DescribeAcceleratorOfferingsResponse.Builder,DescribeAcceleratorOfferingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorTypeOfferings
(Collection<AcceleratorTypeOffering> acceleratorTypeOfferings) The list of accelerator type offerings for a specific location.acceleratorTypeOfferings
(Consumer<AcceleratorTypeOffering.Builder>... acceleratorTypeOfferings) The list of accelerator type offerings for a specific location.acceleratorTypeOfferings
(AcceleratorTypeOffering... acceleratorTypeOfferings) The list of accelerator type offerings for a specific location.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
-
acceleratorTypeOfferings
DescribeAcceleratorOfferingsResponse.Builder acceleratorTypeOfferings(Collection<AcceleratorTypeOffering> acceleratorTypeOfferings) The list of accelerator type offerings for a specific location.
- Parameters:
acceleratorTypeOfferings
- The list of accelerator type offerings for a specific location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypeOfferings
DescribeAcceleratorOfferingsResponse.Builder acceleratorTypeOfferings(AcceleratorTypeOffering... acceleratorTypeOfferings) The list of accelerator type offerings for a specific location.
- Parameters:
acceleratorTypeOfferings
- The list of accelerator type offerings for a specific location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypeOfferings
DescribeAcceleratorOfferingsResponse.Builder acceleratorTypeOfferings(Consumer<AcceleratorTypeOffering.Builder>... acceleratorTypeOfferings) The list of accelerator type offerings for a specific location.
This is a convenience method that creates an instance of theAcceleratorTypeOffering.Builder
avoiding the need to create one manually viaAcceleratorTypeOffering.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacceleratorTypeOfferings(List<AcceleratorTypeOffering>)
.- Parameters:
acceleratorTypeOfferings
- a consumer that will call methods onAcceleratorTypeOffering.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-