public RepositorySyncDefinition withTarget(String target) {
        setTarget(target);
        return this;
    }
<p>
The resource that is synced to.
</p>

@param target
       The resource that is synced to.
@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/RepositorySyncDefinition.java