Class CfnEntity.DefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnEntity.DefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntity.DefinitionProperty>
- Enclosing interface:
- CfnEntity.DefinitionProperty
@Stability(Stable)
public static final class CfnEntity.DefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntity.DefinitionProperty>
A builder for
CfnEntity.DefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(Map<String, String> configuration) Sets the value ofCfnEntity.DefinitionProperty.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnEntity.DefinitionProperty.getConfiguration()dataType(IResolvable dataType) Sets the value ofCfnEntity.DefinitionProperty.getDataType()dataType(CfnEntity.DataTypeProperty dataType) Sets the value ofCfnEntity.DefinitionProperty.getDataType()defaultValue(IResolvable defaultValue) Sets the value ofCfnEntity.DefinitionProperty.getDefaultValue()defaultValue(CfnEntity.DataValueProperty defaultValue) Sets the value ofCfnEntity.DefinitionProperty.getDefaultValue()isExternalId(Boolean isExternalId) Sets the value ofCfnEntity.DefinitionProperty.getIsExternalId()isExternalId(IResolvable isExternalId) Sets the value ofCfnEntity.DefinitionProperty.getIsExternalId()Sets the value ofCfnEntity.DefinitionProperty.getIsFinal()isFinal(IResolvable isFinal) Sets the value ofCfnEntity.DefinitionProperty.getIsFinal()isImported(Boolean isImported) Sets the value ofCfnEntity.DefinitionProperty.getIsImported()isImported(IResolvable isImported) Sets the value ofCfnEntity.DefinitionProperty.getIsImported()isInherited(Boolean isInherited) Sets the value ofCfnEntity.DefinitionProperty.getIsInherited()isInherited(IResolvable isInherited) Sets the value ofCfnEntity.DefinitionProperty.getIsInherited()isRequiredInEntity(Boolean isRequiredInEntity) Sets the value ofCfnEntity.DefinitionProperty.getIsRequiredInEntity()isRequiredInEntity(IResolvable isRequiredInEntity) Sets the value ofCfnEntity.DefinitionProperty.getIsRequiredInEntity()isStoredExternally(Boolean isStoredExternally) Sets the value ofCfnEntity.DefinitionProperty.getIsStoredExternally()isStoredExternally(IResolvable isStoredExternally) Sets the value ofCfnEntity.DefinitionProperty.getIsStoredExternally()isTimeSeries(Boolean isTimeSeries) Sets the value ofCfnEntity.DefinitionProperty.getIsTimeSeries()isTimeSeries(IResolvable isTimeSeries) Sets the value ofCfnEntity.DefinitionProperty.getIsTimeSeries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder configuration(IResolvable configuration) Sets the value ofCfnEntity.DefinitionProperty.getConfiguration()- Parameters:
configuration- The configuration.- Returns:
this
-
configuration
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder configuration(Map<String, String> configuration) Sets the value ofCfnEntity.DefinitionProperty.getConfiguration()- Parameters:
configuration- The configuration.- Returns:
this
-
dataType
Sets the value ofCfnEntity.DefinitionProperty.getDataType()- Parameters:
dataType- The data type.- Returns:
this
-
dataType
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder dataType(CfnEntity.DataTypeProperty dataType) Sets the value ofCfnEntity.DefinitionProperty.getDataType()- Parameters:
dataType- The data type.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder defaultValue(IResolvable defaultValue) Sets the value ofCfnEntity.DefinitionProperty.getDefaultValue()- Parameters:
defaultValue- The default value.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder defaultValue(CfnEntity.DataValueProperty defaultValue) Sets the value ofCfnEntity.DefinitionProperty.getDefaultValue()- Parameters:
defaultValue- The default value.- Returns:
this
-
isExternalId
Sets the value ofCfnEntity.DefinitionProperty.getIsExternalId()- Parameters:
isExternalId- Displays if the entity has a external Id.- Returns:
this
-
isExternalId
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder isExternalId(IResolvable isExternalId) Sets the value ofCfnEntity.DefinitionProperty.getIsExternalId()- Parameters:
isExternalId- Displays if the entity has a external Id.- Returns:
this
-
isFinal
Sets the value ofCfnEntity.DefinitionProperty.getIsFinal()- Parameters:
isFinal- Displays if the entity is final.- Returns:
this
-
isFinal
Sets the value ofCfnEntity.DefinitionProperty.getIsFinal()- Parameters:
isFinal- Displays if the entity is final.- Returns:
this
-
isImported
Sets the value ofCfnEntity.DefinitionProperty.getIsImported()- Parameters:
isImported- Displays if the entity is imported.- Returns:
this
-
isImported
Sets the value ofCfnEntity.DefinitionProperty.getIsImported()- Parameters:
isImported- Displays if the entity is imported.- Returns:
this
-
isInherited
Sets the value ofCfnEntity.DefinitionProperty.getIsInherited()- Parameters:
isInherited- Displays if the entity is inherited.- Returns:
this
-
isInherited
Sets the value ofCfnEntity.DefinitionProperty.getIsInherited()- Parameters:
isInherited- Displays if the entity is inherited.- Returns:
this
-
isRequiredInEntity
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder isRequiredInEntity(Boolean isRequiredInEntity) Sets the value ofCfnEntity.DefinitionProperty.getIsRequiredInEntity()- Parameters:
isRequiredInEntity- Displays if the entity is a required entity.- Returns:
this
-
isRequiredInEntity
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder isRequiredInEntity(IResolvable isRequiredInEntity) Sets the value ofCfnEntity.DefinitionProperty.getIsRequiredInEntity()- Parameters:
isRequiredInEntity- Displays if the entity is a required entity.- Returns:
this
-
isStoredExternally
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder isStoredExternally(Boolean isStoredExternally) Sets the value ofCfnEntity.DefinitionProperty.getIsStoredExternally()- Parameters:
isStoredExternally- Displays if the entity is tored externally.- Returns:
this
-
isStoredExternally
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder isStoredExternally(IResolvable isStoredExternally) Sets the value ofCfnEntity.DefinitionProperty.getIsStoredExternally()- Parameters:
isStoredExternally- Displays if the entity is tored externally.- Returns:
this
-
isTimeSeries
Sets the value ofCfnEntity.DefinitionProperty.getIsTimeSeries()- Parameters:
isTimeSeries- Displays if the entity.- Returns:
this
-
isTimeSeries
@Stability(Stable) public CfnEntity.DefinitionProperty.Builder isTimeSeries(IResolvable isTimeSeries) Sets the value ofCfnEntity.DefinitionProperty.getIsTimeSeries()- Parameters:
isTimeSeries- Displays if the entity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntity.DefinitionProperty>- Returns:
- a new instance of
CfnEntity.DefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-