public void setSyncType(String syncType) {
        this.syncType = syncType;
    }
<p>
View a list of resource data syncs according to the sync type. Specify <code>SyncToDestination</code> to view
resource data syncs that synchronize data to an Amazon S3 bucket. Specify <code>SyncFromSource</code> to view
resource data syncs from Organizations or from multiple Amazon Web Services Regions.
</p>

@param syncType
       View a list of resource data syncs according to the sync type. Specify <code>SyncToDestination</code> to
       view resource data syncs that synchronize data to an Amazon S3 bucket. Specify <code>SyncFromSource</code>
       to view resource data syncs from Organizations or from multiple Amazon Web Services Regions.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ListResourceDataSyncRequest.java