com.pulumi.kubernetes.resource.v1beta1.outputs.DeviceClassConfiguration 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.resource.v1beta1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.kubernetes.resource.v1beta1.outputs.OpaqueDeviceConfiguration;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DeviceClassConfiguration {
/**
* @return Opaque provides driver-specific configuration parameters.
*
*/
private @Nullable OpaqueDeviceConfiguration opaque;
private DeviceClassConfiguration() {}
/**
* @return Opaque provides driver-specific configuration parameters.
*
*/
public Optional opaque() {
return Optional.ofNullable(this.opaque);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeviceClassConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable OpaqueDeviceConfiguration opaque;
public Builder() {}
public Builder(DeviceClassConfiguration defaults) {
Objects.requireNonNull(defaults);
this.opaque = defaults.opaque;
}
@CustomType.Setter
public Builder opaque(@Nullable OpaqueDeviceConfiguration opaque) {
this.opaque = opaque;
return this;
}
public DeviceClassConfiguration build() {
final var _resultValue = new DeviceClassConfiguration();
_resultValue.opaque = opaque;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy