com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalStorageConfigResponse Maven / Gradle / Ivy
// *** 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.googlenative.gkeonprem.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalLvpConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalLvpShareConfigResponse;
import java.util.Objects;
@CustomType
public final class BareMetalStorageConfigResponse {
/**
* @return Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation.
*
*/
private BareMetalLvpConfigResponse lvpNodeMountsConfig;
/**
* @return Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation.
*
*/
private BareMetalLvpShareConfigResponse lvpShareConfig;
private BareMetalStorageConfigResponse() {}
/**
* @return Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation.
*
*/
public BareMetalLvpConfigResponse lvpNodeMountsConfig() {
return this.lvpNodeMountsConfig;
}
/**
* @return Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation.
*
*/
public BareMetalLvpShareConfigResponse lvpShareConfig() {
return this.lvpShareConfig;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BareMetalStorageConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private BareMetalLvpConfigResponse lvpNodeMountsConfig;
private BareMetalLvpShareConfigResponse lvpShareConfig;
public Builder() {}
public Builder(BareMetalStorageConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.lvpNodeMountsConfig = defaults.lvpNodeMountsConfig;
this.lvpShareConfig = defaults.lvpShareConfig;
}
@CustomType.Setter
public Builder lvpNodeMountsConfig(BareMetalLvpConfigResponse lvpNodeMountsConfig) {
this.lvpNodeMountsConfig = Objects.requireNonNull(lvpNodeMountsConfig);
return this;
}
@CustomType.Setter
public Builder lvpShareConfig(BareMetalLvpShareConfigResponse lvpShareConfig) {
this.lvpShareConfig = Objects.requireNonNull(lvpShareConfig);
return this;
}
public BareMetalStorageConfigResponse build() {
final var o = new BareMetalStorageConfigResponse();
o.lvpNodeMountsConfig = lvpNodeMountsConfig;
o.lvpShareConfig = lvpShareConfig;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy