Class EntityReference.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.EntityReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EntityReference>
- Enclosing interface:
EntityReference
@Stability(Stable)
public static final class EntityReference.Builder
extends Object
implements software.amazon.jsii.Builder<EntityReference>
A builder for
EntityReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofEntityReference.getEntityArn()
Sets the value ofEntityReference.getEntityId()
workspaceId
(String workspaceId) Sets the value ofEntityReference.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityArn
Sets the value ofEntityReference.getEntityArn()
- Parameters:
entityArn
- The ARN of the Entity resource. This parameter is required.- Returns:
this
-
entityId
Sets the value ofEntityReference.getEntityId()
- Parameters:
entityId
- The EntityId of the Entity resource. This parameter is required.- Returns:
this
-
workspaceId
Sets the value ofEntityReference.getWorkspaceId()
- Parameters:
workspaceId
- The WorkspaceId of the Entity resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EntityReference>
- Returns:
- a new instance of
EntityReference
- Throws:
NullPointerException
- if any required attribute was not provided
-