public RepositorySyncDefinition withParent(String parent) {
        setParent(parent);
        return this;
    }
<p>
The parent resource specified for a repository sync definition.
</p>

@param parent
       The parent resource specified for a repository sync definition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeconnections/src/main/java/com/amazonaws/services/codeconnections/model/RepositorySyncDefinition.java