io.k8s.api.resource.v1alpha2.ResourceClaimTemplateSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s129 Show documentation
Show all versions of bl-k8s129 Show documentation
Programmatic resource management for Kubernetes
The newest version!
package io.k8s.api.resource.v1alpha2;
import io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta;
/**
* ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
*/
public class ResourceClaimTemplateSpec {
public ObjectMeta metadata;
public ResourceClaimSpec spec;
public ResourceClaimTemplateSpec metadata(ObjectMeta metadata) {
this.metadata = metadata;
return this;
}
public ResourceClaimTemplateSpec spec(ResourceClaimSpec spec) {
this.spec = spec;
return this;
}
public static ResourceClaimTemplateSpec resourceClaimTemplateSpec() {
return new ResourceClaimTemplateSpec();
}
}