public ListResourceDefinitionVersionsRequest withResourceDefinitionId(String resourceDefinitionId) {
        setResourceDefinitionId(resourceDefinitionId);
        return this;
    }
The ID of the resource definition.

@param resourceDefinitionId
       The ID of the resource definition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/ListResourceDefinitionVersionsRequest.java