public SyncConfiguration withPublishDeploymentStatus(String publishDeploymentStatus) {
        setPublishDeploymentStatus(publishDeploymentStatus);
        return this;
    }
<p>
Whether to enable or disable publishing of deployment status to source providers.
</p>

@param publishDeploymentStatus
       Whether to enable or disable publishing of deployment status to source providers.
@return Returns a reference to this object so that method calls can be chained together.
@see PublishDeploymentStatus
aws-java-sdk-codeconnections/src/main/java/com/amazonaws/services/codeconnections/model/SyncConfiguration.java