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