@Stability(value=Stable) public static final class CfnInstance.ElasticInferenceAcceleratorProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.ElasticInferenceAcceleratorProperty>
CfnInstance.ElasticInferenceAcceleratorProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstance.ElasticInferenceAcceleratorProperty |
build()
Builds the configured instance.
|
CfnInstance.ElasticInferenceAcceleratorProperty.Builder |
count(Number count)
Sets the value of
CfnInstance.ElasticInferenceAcceleratorProperty.getCount() |
CfnInstance.ElasticInferenceAcceleratorProperty.Builder |
type(String type)
Sets the value of
CfnInstance.ElasticInferenceAcceleratorProperty.getType() |
@Stability(value=Stable) public CfnInstance.ElasticInferenceAcceleratorProperty.Builder type(String type)
CfnInstance.ElasticInferenceAcceleratorProperty.getType()type - The type of elastic inference accelerator. This parameter is required.
The possible values are eia1.medium , eia1.large , eia1.xlarge , eia2.medium , eia2.large , and eia2.xlarge .this@Stability(value=Stable) public CfnInstance.ElasticInferenceAcceleratorProperty.Builder count(Number count)
CfnInstance.ElasticInferenceAcceleratorProperty.getCount()count - The number of elastic inference accelerators to attach to the instance.this@Stability(value=Stable) public CfnInstance.ElasticInferenceAcceleratorProperty build()
build in interface software.amazon.jsii.Builder<CfnInstance.ElasticInferenceAcceleratorProperty>CfnInstance.ElasticInferenceAcceleratorPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.