io.k8s.api.resource.v1alpha2.ResourceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.resource.v1alpha2;
import io.k8s.apimachinery.pkg.runtime.RawExtension;
/**
* ResourceRequest is a request for resources from one particular driver.
*/
public class ResourceRequest {
public NamedResourcesRequest namedResources;
public RawExtension vendorParameters;
public ResourceRequest namedResources(NamedResourcesRequest namedResources) {
this.namedResources = namedResources;
return this;
}
public ResourceRequest vendorParameters(RawExtension vendorParameters) {
this.vendorParameters = vendorParameters;
return this;
}
public static ResourceRequest resourceRequest() {
return new ResourceRequest();
}
}