public String getSyncType() {
        return this.syncType;
    }
<p>
The type of resource data sync. If <code>SyncType</code> is <code>SyncToDestination</code>, then the resource
data sync synchronizes data to an S3 bucket. If the <code>SyncType</code> is <code>SyncFromSource</code> then the
resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
</p>

@return The type of resource data sync. If <code>SyncType</code> is <code>SyncToDestination</code>, then the
        resource data sync synchronizes data to an S3 bucket. If the <code>SyncType</code> is
        <code>SyncFromSource</code> then the resource data sync synchronizes data from Organizations or from
        multiple Amazon Web Services Regions.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ResourceDataSyncItem.java