All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.compute.outputs.DiskSecurityProfileResponse 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.azurenative.compute.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 DiskSecurityProfileResponse {
    /**
     * @return ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
     * 
     */
    private @Nullable String secureVMDiskEncryptionSetId;
    /**
     * @return Specifies the SecurityType of the VM. Applicable for OS disks only.
     * 
     */
    private @Nullable String securityType;

    private DiskSecurityProfileResponse() {}
    /**
     * @return ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
     * 
     */
    public Optional secureVMDiskEncryptionSetId() {
        return Optional.ofNullable(this.secureVMDiskEncryptionSetId);
    }
    /**
     * @return Specifies the SecurityType of the VM. Applicable for OS disks only.
     * 
     */
    public Optional securityType() {
        return Optional.ofNullable(this.securityType);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DiskSecurityProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String secureVMDiskEncryptionSetId;
        private @Nullable String securityType;
        public Builder() {}
        public Builder(DiskSecurityProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.secureVMDiskEncryptionSetId = defaults.secureVMDiskEncryptionSetId;
    	      this.securityType = defaults.securityType;
        }

        @CustomType.Setter
        public Builder secureVMDiskEncryptionSetId(@Nullable String secureVMDiskEncryptionSetId) {

            this.secureVMDiskEncryptionSetId = secureVMDiskEncryptionSetId;
            return this;
        }
        @CustomType.Setter
        public Builder securityType(@Nullable String securityType) {

            this.securityType = securityType;
            return this;
        }
        public DiskSecurityProfileResponse build() {
            final var _resultValue = new DiskSecurityProfileResponse();
            _resultValue.secureVMDiskEncryptionSetId = secureVMDiskEncryptionSetId;
            _resultValue.securityType = securityType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy