com.pulumi.googlenative.baremetalsolution.v2.outputs.LunRangeResponse 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.baremetalsolution.v2.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class LunRangeResponse {
/**
* @return Number of LUNs to create.
*
*/
private Integer quantity;
/**
* @return The requested size of each LUN, in GB.
*
*/
private Integer sizeGb;
private LunRangeResponse() {}
/**
* @return Number of LUNs to create.
*
*/
public Integer quantity() {
return this.quantity;
}
/**
* @return The requested size of each LUN, in GB.
*
*/
public Integer sizeGb() {
return this.sizeGb;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LunRangeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer quantity;
private Integer sizeGb;
public Builder() {}
public Builder(LunRangeResponse defaults) {
Objects.requireNonNull(defaults);
this.quantity = defaults.quantity;
this.sizeGb = defaults.sizeGb;
}
@CustomType.Setter
public Builder quantity(Integer quantity) {
this.quantity = Objects.requireNonNull(quantity);
return this;
}
@CustomType.Setter
public Builder sizeGb(Integer sizeGb) {
this.sizeGb = Objects.requireNonNull(sizeGb);
return this;
}
public LunRangeResponse build() {
final var o = new LunRangeResponse();
o.quantity = quantity;
o.sizeGb = sizeGb;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy