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

com.pulumi.azurenative.compute.inputs.OSDiskImageSecurityProfileArgs Maven / Gradle / Ivy

The newest version!
// *** 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.inputs;

import com.pulumi.azurenative.compute.enums.ConfidentialVMEncryptionType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Contains security profile for an OS disk image.
 * 
 */
public final class OSDiskImageSecurityProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final OSDiskImageSecurityProfileArgs Empty = new OSDiskImageSecurityProfileArgs();

    /**
     * confidential VM encryption types
     * 
     */
    @Import(name="confidentialVMEncryptionType")
    private @Nullable Output> confidentialVMEncryptionType;

    /**
     * @return confidential VM encryption types
     * 
     */
    public Optional>> confidentialVMEncryptionType() {
        return Optional.ofNullable(this.confidentialVMEncryptionType);
    }

    /**
     * secure VM disk encryption set id
     * 
     */
    @Import(name="secureVMDiskEncryptionSetId")
    private @Nullable Output secureVMDiskEncryptionSetId;

    /**
     * @return secure VM disk encryption set id
     * 
     */
    public Optional> secureVMDiskEncryptionSetId() {
        return Optional.ofNullable(this.secureVMDiskEncryptionSetId);
    }

    private OSDiskImageSecurityProfileArgs() {}

    private OSDiskImageSecurityProfileArgs(OSDiskImageSecurityProfileArgs $) {
        this.confidentialVMEncryptionType = $.confidentialVMEncryptionType;
        this.secureVMDiskEncryptionSetId = $.secureVMDiskEncryptionSetId;
    }

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

    public static final class Builder {
        private OSDiskImageSecurityProfileArgs $;

        public Builder() {
            $ = new OSDiskImageSecurityProfileArgs();
        }

        public Builder(OSDiskImageSecurityProfileArgs defaults) {
            $ = new OSDiskImageSecurityProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param confidentialVMEncryptionType confidential VM encryption types
         * 
         * @return builder
         * 
         */
        public Builder confidentialVMEncryptionType(@Nullable Output> confidentialVMEncryptionType) {
            $.confidentialVMEncryptionType = confidentialVMEncryptionType;
            return this;
        }

        /**
         * @param confidentialVMEncryptionType confidential VM encryption types
         * 
         * @return builder
         * 
         */
        public Builder confidentialVMEncryptionType(Either confidentialVMEncryptionType) {
            return confidentialVMEncryptionType(Output.of(confidentialVMEncryptionType));
        }

        /**
         * @param confidentialVMEncryptionType confidential VM encryption types
         * 
         * @return builder
         * 
         */
        public Builder confidentialVMEncryptionType(String confidentialVMEncryptionType) {
            return confidentialVMEncryptionType(Either.ofLeft(confidentialVMEncryptionType));
        }

        /**
         * @param confidentialVMEncryptionType confidential VM encryption types
         * 
         * @return builder
         * 
         */
        public Builder confidentialVMEncryptionType(ConfidentialVMEncryptionType confidentialVMEncryptionType) {
            return confidentialVMEncryptionType(Either.ofRight(confidentialVMEncryptionType));
        }

        /**
         * @param secureVMDiskEncryptionSetId secure VM disk encryption set id
         * 
         * @return builder
         * 
         */
        public Builder secureVMDiskEncryptionSetId(@Nullable Output secureVMDiskEncryptionSetId) {
            $.secureVMDiskEncryptionSetId = secureVMDiskEncryptionSetId;
            return this;
        }

        /**
         * @param secureVMDiskEncryptionSetId secure VM disk encryption set id
         * 
         * @return builder
         * 
         */
        public Builder secureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId) {
            return secureVMDiskEncryptionSetId(Output.of(secureVMDiskEncryptionSetId));
        }

        public OSDiskImageSecurityProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy