public static final class AcceleratorProps.Builder
extends java.lang.Object
AcceleratorProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AcceleratorProps.Builder |
acceleratorName(java.lang.String acceleratorName)
Sets the value of
AcceleratorProps.getAcceleratorName() |
AcceleratorProps |
build()
Builds the configured instance.
|
AcceleratorProps.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
AcceleratorProps.getEnabled() |
public AcceleratorProps.Builder acceleratorName(java.lang.String acceleratorName)
AcceleratorProps.getAcceleratorName()
acceleratorName
- The name of the accelerator.this
public AcceleratorProps.Builder enabled(java.lang.Boolean enabled)
AcceleratorProps.getEnabled()
enabled
- Indicates whether the accelerator is enabled.this
public AcceleratorProps build()
AcceleratorProps
java.lang.NullPointerException
- if any required attribute was not provided