public ListMigrationTasksRequest withResourceName(String resourceName) {
        setResourceName(resourceName);
        return this;
    }
<p>
Filter migration tasks by discovered resource name.
</p>

@param resourceName
       Filter migration tasks by discovered resource name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhub/src/main/java/com/amazonaws/services/migrationhub/model/ListMigrationTasksRequest.java