/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iottwinmaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateSyncJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The workspace ID. *
*/ private String workspaceId; /** ** The sync source. *
*
* Currently the only supported syncSoource is SITEWISE
.
*
* The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or * delete the corresponding resources. *
*/ private String syncRole; /** ** The SyncJob tags. *
*/ private java.util.Map* The workspace ID. *
* * @param workspaceId * The workspace ID. */ public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; } /** ** The workspace ID. *
* * @return The workspace ID. */ public String getWorkspaceId() { return this.workspaceId; } /** ** The workspace ID. *
* * @param workspaceId * The workspace ID. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSyncJobRequest withWorkspaceId(String workspaceId) { setWorkspaceId(workspaceId); return this; } /** ** The sync source. *
*
* Currently the only supported syncSoource is SITEWISE
.
*
* Currently the only supported syncSoource is SITEWISE
.
*
* The sync source. *
*
* Currently the only supported syncSoource is SITEWISE
.
*
* Currently the only supported syncSoource is SITEWISE
.
*
* The sync source. *
*
* Currently the only supported syncSoource is SITEWISE
.
*
* Currently the only supported syncSoource is SITEWISE
.
*
* The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or * delete the corresponding resources. *
* * @param syncRole * The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, * update, or delete the corresponding resources. */ public void setSyncRole(String syncRole) { this.syncRole = syncRole; } /** ** The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or * delete the corresponding resources. *
* * @return The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, * update, or delete the corresponding resources. */ public String getSyncRole() { return this.syncRole; } /** ** The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or * delete the corresponding resources. *
* * @param syncRole * The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, * update, or delete the corresponding resources. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSyncJobRequest withSyncRole(String syncRole) { setSyncRole(syncRole); return this; } /** ** The SyncJob tags. *
* * @return The SyncJob tags. */ public java.util.Map* The SyncJob tags. *
* * @param tags * The SyncJob tags. */ public void setTags(java.util.Map* The SyncJob tags. *
* * @param tags * The SyncJob tags. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSyncJobRequest withTags(java.util.Map