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