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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ElasticInferenceAccelerator.BuilderacceleratorHealth(Consumer<ElasticInferenceAcceleratorHealth.Builder> acceleratorHealth)The health of the Elastic Inference Accelerator.ElasticInferenceAccelerator.BuilderacceleratorHealth(ElasticInferenceAcceleratorHealth acceleratorHealth)The health of the Elastic Inference Accelerator.ElasticInferenceAccelerator.BuilderacceleratorId(String acceleratorId)The ID of the Elastic Inference Accelerator.ElasticInferenceAccelerator.BuilderacceleratorType(String acceleratorType)The type of the Elastic Inference Accelerator.ElasticInferenceAccelerator.BuilderattachedResource(String attachedResource)The ARN of the resource that the Elastic Inference Accelerator is attached to.ElasticInferenceAccelerator.BuilderavailabilityZone(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 Detail
-
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.Builderavoiding the need to create one manually viaElasticInferenceAcceleratorHealth.builder().When the
Consumercompletes,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:
acceleratorHealth(ElasticInferenceAcceleratorHealth)
-
acceleratorType
ElasticInferenceAccelerator.Builder acceleratorType(String 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
ElasticInferenceAccelerator.Builder acceleratorId(String 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
ElasticInferenceAccelerator.Builder availabilityZone(String 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
ElasticInferenceAccelerator.Builder attachedResource(String 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.
-
-