
com.pulumi.azurenative.recoveryservices.outputs.OSDetailsResponse 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.recoveryservices.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OSDetailsResponse {
/**
* @return The OS Major Version.
*
*/
private @Nullable String oSMajorVersion;
/**
* @return The OS Minor Version.
*
*/
private @Nullable String oSMinorVersion;
/**
* @return The OS Version.
*
*/
private @Nullable String oSVersion;
/**
* @return The OSEdition.
*
*/
private @Nullable String osEdition;
/**
* @return VM Disk details.
*
*/
private @Nullable String osType;
/**
* @return Product type.
*
*/
private @Nullable String productType;
private OSDetailsResponse() {}
/**
* @return The OS Major Version.
*
*/
public Optional oSMajorVersion() {
return Optional.ofNullable(this.oSMajorVersion);
}
/**
* @return The OS Minor Version.
*
*/
public Optional oSMinorVersion() {
return Optional.ofNullable(this.oSMinorVersion);
}
/**
* @return The OS Version.
*
*/
public Optional oSVersion() {
return Optional.ofNullable(this.oSVersion);
}
/**
* @return The OSEdition.
*
*/
public Optional osEdition() {
return Optional.ofNullable(this.osEdition);
}
/**
* @return VM Disk details.
*
*/
public Optional osType() {
return Optional.ofNullable(this.osType);
}
/**
* @return Product type.
*
*/
public Optional productType() {
return Optional.ofNullable(this.productType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OSDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String oSMajorVersion;
private @Nullable String oSMinorVersion;
private @Nullable String oSVersion;
private @Nullable String osEdition;
private @Nullable String osType;
private @Nullable String productType;
public Builder() {}
public Builder(OSDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.oSMajorVersion = defaults.oSMajorVersion;
this.oSMinorVersion = defaults.oSMinorVersion;
this.oSVersion = defaults.oSVersion;
this.osEdition = defaults.osEdition;
this.osType = defaults.osType;
this.productType = defaults.productType;
}
@CustomType.Setter
public Builder oSMajorVersion(@Nullable String oSMajorVersion) {
this.oSMajorVersion = oSMajorVersion;
return this;
}
@CustomType.Setter
public Builder oSMinorVersion(@Nullable String oSMinorVersion) {
this.oSMinorVersion = oSMinorVersion;
return this;
}
@CustomType.Setter
public Builder oSVersion(@Nullable String oSVersion) {
this.oSVersion = oSVersion;
return this;
}
@CustomType.Setter
public Builder osEdition(@Nullable String osEdition) {
this.osEdition = osEdition;
return this;
}
@CustomType.Setter
public Builder osType(@Nullable String osType) {
this.osType = osType;
return this;
}
@CustomType.Setter
public Builder productType(@Nullable String productType) {
this.productType = productType;
return this;
}
public OSDetailsResponse build() {
final var _resultValue = new OSDetailsResponse();
_resultValue.oSMajorVersion = oSMajorVersion;
_resultValue.oSMinorVersion = oSMinorVersion;
_resultValue.oSVersion = oSVersion;
_resultValue.osEdition = osEdition;
_resultValue.osType = osType;
_resultValue.productType = productType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy