Class CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty>
- Enclosing interface:
CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deviceName(String deviceName) deviceType(String deviceType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceName
@Stability(Stable) public CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty.Builder deviceName(String deviceName) - Parameters:
deviceName- The Elastic Inference accelerator device name to override for the task. This parameter must match adeviceNamespecified in the task definition.- Returns:
this
-
deviceType
@Stability(Stable) public CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty.Builder deviceType(String deviceType) - Parameters:
deviceType- The Elastic Inference accelerator type to use.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty>- Returns:
- a new instance of
CfnPipePropsMixin.EcsInferenceAcceleratorOverrideProperty - Throws:
NullPointerException- if any required attribute was not provided
-