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

com.pulumi.azurenative.compute.outputs.VirtualMachineScaleSetManagedDiskParametersResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show 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.outputs;

import com.pulumi.azurenative.compute.outputs.DiskEncryptionSetParametersResponse;
import com.pulumi.azurenative.compute.outputs.VMDiskSecurityProfileResponse;
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 VirtualMachineScaleSetManagedDiskParametersResponse {
    /**
     * @return Specifies the customer managed disk encryption set resource id for the managed disk.
     * 
     */
    private @Nullable DiskEncryptionSetParametersResponse diskEncryptionSet;
    /**
     * @return Specifies the security profile for the managed disk.
     * 
     */
    private @Nullable VMDiskSecurityProfileResponse securityProfile;
    /**
     * @return Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
     * 
     */
    private @Nullable String storageAccountType;

    private VirtualMachineScaleSetManagedDiskParametersResponse() {}
    /**
     * @return Specifies the customer managed disk encryption set resource id for the managed disk.
     * 
     */
    public Optional diskEncryptionSet() {
        return Optional.ofNullable(this.diskEncryptionSet);
    }
    /**
     * @return Specifies the security profile for the managed disk.
     * 
     */
    public Optional securityProfile() {
        return Optional.ofNullable(this.securityProfile);
    }
    /**
     * @return Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
     * 
     */
    public Optional storageAccountType() {
        return Optional.ofNullable(this.storageAccountType);
    }

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

    public static Builder builder(VirtualMachineScaleSetManagedDiskParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable DiskEncryptionSetParametersResponse diskEncryptionSet;
        private @Nullable VMDiskSecurityProfileResponse securityProfile;
        private @Nullable String storageAccountType;
        public Builder() {}
        public Builder(VirtualMachineScaleSetManagedDiskParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.diskEncryptionSet = defaults.diskEncryptionSet;
    	      this.securityProfile = defaults.securityProfile;
    	      this.storageAccountType = defaults.storageAccountType;
        }

        @CustomType.Setter
        public Builder diskEncryptionSet(@Nullable DiskEncryptionSetParametersResponse diskEncryptionSet) {

            this.diskEncryptionSet = diskEncryptionSet;
            return this;
        }
        @CustomType.Setter
        public Builder securityProfile(@Nullable VMDiskSecurityProfileResponse securityProfile) {

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

            this.storageAccountType = storageAccountType;
            return this;
        }
        public VirtualMachineScaleSetManagedDiskParametersResponse build() {
            final var _resultValue = new VirtualMachineScaleSetManagedDiskParametersResponse();
            _resultValue.diskEncryptionSet = diskEncryptionSet;
            _resultValue.securityProfile = securityProfile;
            _resultValue.storageAccountType = storageAccountType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy