Class CfnSyncJob.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnSyncJob.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSyncJob>
- Enclosing class:
CfnSyncJob
@Stability(Stable)
public static final class CfnSyncJob.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSyncJob>
A fluent builder for
CfnSyncJob
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSyncJob.Builder
The SyncJob IAM role.syncSource
(String syncSource) The sync source.Metadata you can use to manage the SyncJob.workspaceId
(String workspaceId) The ID of the workspace that contains the sync job.
-
Method Details
-
create
@Stability(Stable) public static CfnSyncJob.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSyncJob.Builder
.
-
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.
- Parameters:
syncRole
- The SyncJob IAM role. This parameter is required.- Returns:
this
- See Also:
-
syncSource
The sync source.Currently the only supported syncSoucre is
SITEWISE
.- Parameters:
syncSource
- The sync source. This parameter is required.- Returns:
this
- See Also:
-
workspaceId
The ID of the workspace that contains the sync job.- Parameters:
workspaceId
- The ID of the workspace that contains the sync job. This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata you can use to manage the SyncJob.- Parameters:
tags
- Metadata you can use to manage the SyncJob. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSyncJob>
- Returns:
- a newly built instance of
CfnSyncJob
.
-