Interface ElasticInferenceAccelerator.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ElasticInferenceAccelerator.Builder,
,ElasticInferenceAccelerator> SdkBuilder<ElasticInferenceAccelerator.Builder,
,ElasticInferenceAccelerator> SdkPojo
- Enclosing class:
ElasticInferenceAccelerator
public static interface ElasticInferenceAccelerator.Builder
extends SdkPojo, CopyableBuilder<ElasticInferenceAccelerator.Builder,ElasticInferenceAccelerator>
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorHealth
(Consumer<ElasticInferenceAcceleratorHealth.Builder> acceleratorHealth) The health of the Elastic Inference Accelerator.acceleratorHealth
(ElasticInferenceAcceleratorHealth acceleratorHealth) The health of the Elastic Inference Accelerator.acceleratorId
(String acceleratorId) The ID of the Elastic Inference Accelerator.acceleratorType
(String acceleratorType) The type of the Elastic Inference Accelerator.attachedResource
(String attachedResource) The ARN of the resource that the Elastic Inference Accelerator is attached to.availabilityZone
(String availabilityZone) The availability zone where the Elastic Inference Accelerator is present.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
acceleratorHealth
ElasticInferenceAccelerator.Builder acceleratorHealth(ElasticInferenceAcceleratorHealth acceleratorHealth) The health of the Elastic Inference Accelerator.
- Parameters:
acceleratorHealth
- The health of the Elastic Inference Accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorHealth
default ElasticInferenceAccelerator.Builder acceleratorHealth(Consumer<ElasticInferenceAcceleratorHealth.Builder> acceleratorHealth) The health of the Elastic Inference Accelerator.
This is a convenience method that creates an instance of theElasticInferenceAcceleratorHealth.Builder
avoiding the need to create one manually viaElasticInferenceAcceleratorHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacceleratorHealth(ElasticInferenceAcceleratorHealth)
.- Parameters:
acceleratorHealth
- a consumer that will call methods onElasticInferenceAcceleratorHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acceleratorType
The type of the Elastic Inference Accelerator.
- Parameters:
acceleratorType
- The type of the Elastic Inference Accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorId
The ID of the Elastic Inference Accelerator.
- Parameters:
acceleratorId
- The ID of the Elastic Inference Accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The availability zone where the Elastic Inference Accelerator is present.
- Parameters:
availabilityZone
- The availability zone where the Elastic Inference Accelerator is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedResource
The ARN of the resource that the Elastic Inference Accelerator is attached to.
- Parameters:
attachedResource
- The ARN of the resource that the Elastic Inference Accelerator is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-