com.pulumi.googlenative.container.v1beta1.outputs.NodeConfigDefaultsResponse 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.container.v1beta1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.container.v1beta1.outputs.GcfsConfigResponse;
import com.pulumi.googlenative.container.v1beta1.outputs.NodePoolLoggingConfigResponse;
import java.util.Objects;
@CustomType
public final class NodeConfigDefaultsResponse {
/**
* @return GCFS (Google Container File System, also known as Riptide) options.
*
*/
private GcfsConfigResponse gcfsConfig;
/**
* @return Logging configuration for node pools.
*
*/
private NodePoolLoggingConfigResponse loggingConfig;
private NodeConfigDefaultsResponse() {}
/**
* @return GCFS (Google Container File System, also known as Riptide) options.
*
*/
public GcfsConfigResponse gcfsConfig() {
return this.gcfsConfig;
}
/**
* @return Logging configuration for node pools.
*
*/
public NodePoolLoggingConfigResponse loggingConfig() {
return this.loggingConfig;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NodeConfigDefaultsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private GcfsConfigResponse gcfsConfig;
private NodePoolLoggingConfigResponse loggingConfig;
public Builder() {}
public Builder(NodeConfigDefaultsResponse defaults) {
Objects.requireNonNull(defaults);
this.gcfsConfig = defaults.gcfsConfig;
this.loggingConfig = defaults.loggingConfig;
}
@CustomType.Setter
public Builder gcfsConfig(GcfsConfigResponse gcfsConfig) {
this.gcfsConfig = Objects.requireNonNull(gcfsConfig);
return this;
}
@CustomType.Setter
public Builder loggingConfig(NodePoolLoggingConfigResponse loggingConfig) {
this.loggingConfig = Objects.requireNonNull(loggingConfig);
return this;
}
public NodeConfigDefaultsResponse build() {
final var o = new NodeConfigDefaultsResponse();
o.gcfsConfig = gcfsConfig;
o.loggingConfig = loggingConfig;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy