public SpekeKeyProvider withResourceId(String resourceId) {
        setResourceId(resourceId);
        return this;
    }
The resource ID to include in key requests.

@param resourceId
       The resource ID to include in key requests.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/SpekeKeyProvider.java