Class CfnEntity.RelationshipValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnEntity.RelationshipValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntity.RelationshipValueProperty>
- Enclosing interface:
CfnEntity.RelationshipValueProperty
@Stability(Stable)
public static final class CfnEntity.RelationshipValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntity.RelationshipValueProperty>
A builder for
CfnEntity.RelationshipValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.targetComponentName
(String targetComponentName) Sets the value ofCfnEntity.RelationshipValueProperty.getTargetComponentName()
targetEntityId
(String targetEntityId) Sets the value ofCfnEntity.RelationshipValueProperty.getTargetEntityId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetComponentName
@Stability(Stable) public CfnEntity.RelationshipValueProperty.Builder targetComponentName(String targetComponentName) Sets the value ofCfnEntity.RelationshipValueProperty.getTargetComponentName()
- Parameters:
targetComponentName
- The target component name.- Returns:
this
-
targetEntityId
@Stability(Stable) public CfnEntity.RelationshipValueProperty.Builder targetEntityId(String targetEntityId) Sets the value ofCfnEntity.RelationshipValueProperty.getTargetEntityId()
- Parameters:
targetEntityId
- The target entity Id.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEntity.RelationshipValueProperty>
- Returns:
- a new instance of
CfnEntity.RelationshipValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-