Class CfnSyncJobMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iottwinmaker.CfnSyncJobMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSyncJobMixinProps>
- Enclosing interface:
CfnSyncJobMixinProps
@Stability(Stable)
public static final class CfnSyncJobMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSyncJobMixinProps>
A builder for
CfnSyncJobMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSyncJobMixinProps.getSyncRole()syncSource(String syncSource) Sets the value ofCfnSyncJobMixinProps.getSyncSource()Sets the value ofCfnSyncJobMixinProps.getTags()workspaceId(String workspaceId) Sets the value ofCfnSyncJobMixinProps.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
syncRole
Sets the value ofCfnSyncJobMixinProps.getSyncRole()- Parameters:
syncRole- The SyncJob IAM role. This IAM role is used by the sync job to read from the syncSource, and create, update or delete the corresponding resources.- Returns:
this
-
syncSource
Sets the value ofCfnSyncJobMixinProps.getSyncSource()- Parameters:
syncSource- The sync source.Currently the only supported syncSoucre is
SITEWISE.- Returns:
this
-
tags
Sets the value ofCfnSyncJobMixinProps.getTags()- Parameters:
tags- Metadata you can use to manage the SyncJob.- Returns:
this
-
workspaceId
Sets the value ofCfnSyncJobMixinProps.getWorkspaceId()- Parameters:
workspaceId- The ID of the workspace that contains the sync job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSyncJobMixinProps>- Returns:
- a new instance of
CfnSyncJobMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-