com.pulumi.kubernetes.admissionregistration.v1.outputs.ParamKind Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.kubernetes.admissionregistration.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ParamKind {
/**
* @return APIVersion is the API group version the resources belong to. In format of "group/version". Required.
*
*/
private @Nullable String apiVersion;
/**
* @return Kind is the API kind the resources belong to. Required.
*
*/
private @Nullable String kind;
private ParamKind() {}
/**
* @return APIVersion is the API group version the resources belong to. In format of "group/version". Required.
*
*/
public Optional apiVersion() {
return Optional.ofNullable(this.apiVersion);
}
/**
* @return Kind is the API kind the resources belong to. Required.
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ParamKind defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String apiVersion;
private @Nullable String kind;
public Builder() {}
public Builder(ParamKind defaults) {
Objects.requireNonNull(defaults);
this.apiVersion = defaults.apiVersion;
this.kind = defaults.kind;
}
@CustomType.Setter
public Builder apiVersion(@Nullable String apiVersion) {
this.apiVersion = apiVersion;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
public ParamKind build() {
final var _resultValue = new ParamKind();
_resultValue.apiVersion = apiVersion;
_resultValue.kind = kind;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy