Class CfnComponentType.PropertyDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnComponentType.PropertyDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentType.PropertyDefinitionProperty>
- Enclosing interface:
CfnComponentType.PropertyDefinitionProperty
@Stability(Stable)
public static final class CfnComponentType.PropertyDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentType.PropertyDefinitionProperty>
A builder for
CfnComponentType.PropertyDefinitionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configurations
(Map<String, String> configurations) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getConfigurations()
configurations
(IResolvable configurations) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getConfigurations()
dataType
(IResolvable dataType) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDataType()
dataType
(CfnComponentType.DataTypeProperty dataType) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDataType()
defaultValue
(IResolvable defaultValue) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDefaultValue()
defaultValue
(CfnComponentType.DataValueProperty defaultValue) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDefaultValue()
isExternalId
(Boolean isExternalId) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsExternalId()
isExternalId
(IResolvable isExternalId) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsExternalId()
isRequiredInEntity
(Boolean isRequiredInEntity) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsRequiredInEntity()
isRequiredInEntity
(IResolvable isRequiredInEntity) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsRequiredInEntity()
isStoredExternally
(Boolean isStoredExternally) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsStoredExternally()
isStoredExternally
(IResolvable isStoredExternally) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsStoredExternally()
isTimeSeries
(Boolean isTimeSeries) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsTimeSeries()
isTimeSeries
(IResolvable isTimeSeries) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsTimeSeries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurations
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder configurations(IResolvable configurations) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getConfigurations()
- Parameters:
configurations
- A mapping that specifies configuration information about the property.- Returns:
this
-
configurations
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder configurations(Map<String, String> configurations) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getConfigurations()
- Parameters:
configurations
- A mapping that specifies configuration information about the property.- Returns:
this
-
dataType
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder dataType(IResolvable dataType) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDataType()
- Parameters:
dataType
- An object that specifies the data type of a property.- Returns:
this
-
dataType
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder dataType(CfnComponentType.DataTypeProperty dataType) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDataType()
- Parameters:
dataType
- An object that specifies the data type of a property.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder defaultValue(IResolvable defaultValue) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDefaultValue()
- Parameters:
defaultValue
- A boolean value that specifies whether the property ID comes from an external data store.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder defaultValue(CfnComponentType.DataValueProperty defaultValue) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getDefaultValue()
- Parameters:
defaultValue
- A boolean value that specifies whether the property ID comes from an external data store.- Returns:
this
-
isExternalId
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isExternalId(Boolean isExternalId) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsExternalId()
- Parameters:
isExternalId
- A Boolean value that specifies whether the property ID comes from an external data source.- Returns:
this
-
isExternalId
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isExternalId(IResolvable isExternalId) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsExternalId()
- Parameters:
isExternalId
- A Boolean value that specifies whether the property ID comes from an external data source.- Returns:
this
-
isRequiredInEntity
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isRequiredInEntity(Boolean isRequiredInEntity) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsRequiredInEntity()
- Parameters:
isRequiredInEntity
- A boolean value that specifies whether the property is required in an entity.- Returns:
this
-
isRequiredInEntity
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isRequiredInEntity(IResolvable isRequiredInEntity) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsRequiredInEntity()
- Parameters:
isRequiredInEntity
- A boolean value that specifies whether the property is required in an entity.- Returns:
this
-
isStoredExternally
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isStoredExternally(Boolean isStoredExternally) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsStoredExternally()
- Parameters:
isStoredExternally
- A boolean value that specifies whether the property is stored externally.- Returns:
this
-
isStoredExternally
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isStoredExternally(IResolvable isStoredExternally) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsStoredExternally()
- Parameters:
isStoredExternally
- A boolean value that specifies whether the property is stored externally.- Returns:
this
-
isTimeSeries
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isTimeSeries(Boolean isTimeSeries) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsTimeSeries()
- Parameters:
isTimeSeries
- A boolean value that specifies whether the property consists of time series data.- Returns:
this
-
isTimeSeries
@Stability(Stable) public CfnComponentType.PropertyDefinitionProperty.Builder isTimeSeries(IResolvable isTimeSeries) Sets the value ofCfnComponentType.PropertyDefinitionProperty.getIsTimeSeries()
- Parameters:
isTimeSeries
- A boolean value that specifies whether the property consists of time series data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnComponentType.PropertyDefinitionProperty>
- Returns:
- a new instance of
CfnComponentType.PropertyDefinitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-