com.pulumi.azurenative.baremetalinfrastructure.outputs.OSProfileResponse 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.baremetalinfrastructure.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 OSProfileResponse {
/**
* @return Specifies the host OS name of the Azure Bare Metal instance.
*
*/
private @Nullable String computerName;
/**
* @return This property allows you to specify the type of the OS.
*
*/
private @Nullable String osType;
/**
* @return Specifies the SSH public key used to access the operating system.
*
*/
private @Nullable String sshPublicKey;
/**
* @return Specifies version of operating system.
*
*/
private @Nullable String version;
private OSProfileResponse() {}
/**
* @return Specifies the host OS name of the Azure Bare Metal instance.
*
*/
public Optional computerName() {
return Optional.ofNullable(this.computerName);
}
/**
* @return This property allows you to specify the type of the OS.
*
*/
public Optional osType() {
return Optional.ofNullable(this.osType);
}
/**
* @return Specifies the SSH public key used to access the operating system.
*
*/
public Optional sshPublicKey() {
return Optional.ofNullable(this.sshPublicKey);
}
/**
* @return Specifies version of operating system.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OSProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String computerName;
private @Nullable String osType;
private @Nullable String sshPublicKey;
private @Nullable String version;
public Builder() {}
public Builder(OSProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.computerName = defaults.computerName;
this.osType = defaults.osType;
this.sshPublicKey = defaults.sshPublicKey;
this.version = defaults.version;
}
@CustomType.Setter
public Builder computerName(@Nullable String computerName) {
this.computerName = computerName;
return this;
}
@CustomType.Setter
public Builder osType(@Nullable String osType) {
this.osType = osType;
return this;
}
@CustomType.Setter
public Builder sshPublicKey(@Nullable String sshPublicKey) {
this.sshPublicKey = sshPublicKey;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public OSProfileResponse build() {
final var _resultValue = new OSProfileResponse();
_resultValue.computerName = computerName;
_resultValue.osType = osType;
_resultValue.sshPublicKey = sshPublicKey;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy