com.pulumi.azurenative.appplatform.outputs.TemporaryDiskResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.appplatform.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TemporaryDiskResponse {
/**
* @return Mount path of the temporary disk
*
*/
private @Nullable String mountPath;
/**
* @return Size of the temporary disk in GB
*
*/
private @Nullable Integer sizeInGB;
private TemporaryDiskResponse() {}
/**
* @return Mount path of the temporary disk
*
*/
public Optional mountPath() {
return Optional.ofNullable(this.mountPath);
}
/**
* @return Size of the temporary disk in GB
*
*/
public Optional sizeInGB() {
return Optional.ofNullable(this.sizeInGB);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TemporaryDiskResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String mountPath;
private @Nullable Integer sizeInGB;
public Builder() {}
public Builder(TemporaryDiskResponse defaults) {
Objects.requireNonNull(defaults);
this.mountPath = defaults.mountPath;
this.sizeInGB = defaults.sizeInGB;
}
@CustomType.Setter
public Builder mountPath(@Nullable String mountPath) {
this.mountPath = mountPath;
return this;
}
@CustomType.Setter
public Builder sizeInGB(@Nullable Integer sizeInGB) {
this.sizeInGB = sizeInGB;
return this;
}
public TemporaryDiskResponse build() {
final var _resultValue = new TemporaryDiskResponse();
_resultValue.mountPath = mountPath;
_resultValue.sizeInGB = sizeInGB;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy