
com.pulumi.azurenative.azurestackhci.outputs.VirtualMachineInstancePropertiesResponseSecurityProfile 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.azurestackhci.outputs;
import com.pulumi.azurenative.azurestackhci.outputs.VirtualMachineInstancePropertiesResponseUefiSettings;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualMachineInstancePropertiesResponseSecurityProfile {
private @Nullable Boolean enableTPM;
/**
* @return Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
*
*/
private @Nullable String securityType;
private @Nullable VirtualMachineInstancePropertiesResponseUefiSettings uefiSettings;
private VirtualMachineInstancePropertiesResponseSecurityProfile() {}
public Optional enableTPM() {
return Optional.ofNullable(this.enableTPM);
}
/**
* @return Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
*
*/
public Optional securityType() {
return Optional.ofNullable(this.securityType);
}
public Optional uefiSettings() {
return Optional.ofNullable(this.uefiSettings);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualMachineInstancePropertiesResponseSecurityProfile defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enableTPM;
private @Nullable String securityType;
private @Nullable VirtualMachineInstancePropertiesResponseUefiSettings uefiSettings;
public Builder() {}
public Builder(VirtualMachineInstancePropertiesResponseSecurityProfile defaults) {
Objects.requireNonNull(defaults);
this.enableTPM = defaults.enableTPM;
this.securityType = defaults.securityType;
this.uefiSettings = defaults.uefiSettings;
}
@CustomType.Setter
public Builder enableTPM(@Nullable Boolean enableTPM) {
this.enableTPM = enableTPM;
return this;
}
@CustomType.Setter
public Builder securityType(@Nullable String securityType) {
this.securityType = securityType;
return this;
}
@CustomType.Setter
public Builder uefiSettings(@Nullable VirtualMachineInstancePropertiesResponseUefiSettings uefiSettings) {
this.uefiSettings = uefiSettings;
return this;
}
public VirtualMachineInstancePropertiesResponseSecurityProfile build() {
final var _resultValue = new VirtualMachineInstancePropertiesResponseSecurityProfile();
_resultValue.enableTPM = enableTPM;
_resultValue.securityType = securityType;
_resultValue.uefiSettings = uefiSettings;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy