com.pulumi.kubernetes.extensions.v1beta1.inputs.AllowedCSIDriverArgs 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.extensions.v1beta1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
*
*/
public final class AllowedCSIDriverArgs extends com.pulumi.resources.ResourceArgs {
public static final AllowedCSIDriverArgs Empty = new AllowedCSIDriverArgs();
/**
* Name is the registered name of the CSI driver
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return Name is the registered name of the CSI driver
*
*/
public Output name() {
return this.name;
}
private AllowedCSIDriverArgs() {}
private AllowedCSIDriverArgs(AllowedCSIDriverArgs $) {
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AllowedCSIDriverArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private AllowedCSIDriverArgs $;
public Builder() {
$ = new AllowedCSIDriverArgs();
}
public Builder(AllowedCSIDriverArgs defaults) {
$ = new AllowedCSIDriverArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Name is the registered name of the CSI driver
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name Name is the registered name of the CSI driver
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
public AllowedCSIDriverArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("AllowedCSIDriverArgs", "name");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy