Class CfnSignalCatalog.AttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnSignalCatalog.AttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSignalCatalog.AttributeProperty>
- Enclosing interface:
CfnSignalCatalog.AttributeProperty
@Stability(Stable)
public static final class CfnSignalCatalog.AttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSignalCatalog.AttributeProperty>
A builder for
CfnSignalCatalog.AttributeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedValues
(List<String> allowedValues) Sets the value ofCfnSignalCatalog.AttributeProperty.getAllowedValues()
assignedValue
(String assignedValue) Sets the value ofCfnSignalCatalog.AttributeProperty.getAssignedValue()
build()
Builds the configured instance.Sets the value ofCfnSignalCatalog.AttributeProperty.getDataType()
defaultValue
(String defaultValue) Sets the value ofCfnSignalCatalog.AttributeProperty.getDefaultValue()
description
(String description) Sets the value ofCfnSignalCatalog.AttributeProperty.getDescription()
fullyQualifiedName
(String fullyQualifiedName) Sets the value ofCfnSignalCatalog.AttributeProperty.getFullyQualifiedName()
Sets the value ofCfnSignalCatalog.AttributeProperty.getMax()
Sets the value ofCfnSignalCatalog.AttributeProperty.getMin()
Sets the value ofCfnSignalCatalog.AttributeProperty.getUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataType
Sets the value ofCfnSignalCatalog.AttributeProperty.getDataType()
- Parameters:
dataType
- The specified data type of the attribute. This parameter is required.- Returns:
this
-
fullyQualifiedName
@Stability(Stable) public CfnSignalCatalog.AttributeProperty.Builder fullyQualifiedName(String fullyQualifiedName) Sets the value ofCfnSignalCatalog.AttributeProperty.getFullyQualifiedName()
- Parameters:
fullyQualifiedName
- The fully qualified name of the attribute. This parameter is required. For example, the fully qualified name of an attribute might beVehicle.Body.Engine.Type
.- Returns:
this
-
allowedValues
@Stability(Stable) public CfnSignalCatalog.AttributeProperty.Builder allowedValues(List<String> allowedValues) Sets the value ofCfnSignalCatalog.AttributeProperty.getAllowedValues()
- Parameters:
allowedValues
- (Optional) A list of possible values an attribute can be assigned.- Returns:
this
-
assignedValue
@Stability(Stable) public CfnSignalCatalog.AttributeProperty.Builder assignedValue(String assignedValue) Sets the value ofCfnSignalCatalog.AttributeProperty.getAssignedValue()
- Parameters:
assignedValue
- (Optional) A specified value for the attribute.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnSignalCatalog.AttributeProperty.Builder defaultValue(String defaultValue) Sets the value ofCfnSignalCatalog.AttributeProperty.getDefaultValue()
- Parameters:
defaultValue
- (Optional) The default value of the attribute.- Returns:
this
-
description
@Stability(Stable) public CfnSignalCatalog.AttributeProperty.Builder description(String description) Sets the value ofCfnSignalCatalog.AttributeProperty.getDescription()
- Parameters:
description
- (Optional) A brief description of the attribute.- Returns:
this
-
max
Sets the value ofCfnSignalCatalog.AttributeProperty.getMax()
- Parameters:
max
- (Optional) The specified possible maximum value of the attribute.- Returns:
this
-
min
Sets the value ofCfnSignalCatalog.AttributeProperty.getMin()
- Parameters:
min
- (Optional) The specified possible minimum value of the attribute.- Returns:
this
-
unit
Sets the value ofCfnSignalCatalog.AttributeProperty.getUnit()
- Parameters:
unit
- (Optional) The scientific unit for the attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSignalCatalog.AttributeProperty>
- Returns:
- a new instance of
CfnSignalCatalog.AttributeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-