public Core withSyncShadow(Boolean syncShadow) {
        setSyncShadow(syncShadow);
        return this;
    }
If true, the core's local shadow is automatically synced with the cloud.

@param syncShadow
       If true, the core's local shadow is automatically synced with the cloud.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/Core.java