public ServiceSyncConfig withBranch(String branch) {
        setBranch(branch);
        return this;
    }
<p>
The name of the code repository branch that holds the service code Proton will sync with.
</p>

@param branch
       The name of the code repository branch that holds the service code Proton will sync with.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ServiceSyncConfig.java