public SourceControlDetails withFolder(String folder) {
        setFolder(folder);
        return this;
    }
<p>
An optional folder in the remote repository.
</p>

@param folder
       An optional folder in the remote repository.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/SourceControlDetails.java