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

com.pulumi.azurenative.netapp.outputs.AccountEncryptionResponse 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.netapp.outputs;

import com.pulumi.azurenative.netapp.outputs.EncryptionIdentityResponse;
import com.pulumi.azurenative.netapp.outputs.KeyVaultPropertiesResponse;
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 AccountEncryptionResponse {
    /**
     * @return Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
     * 
     */
    private @Nullable EncryptionIdentityResponse identity;
    /**
     * @return The encryption keySource (provider). Possible values (case-insensitive):  Microsoft.NetApp, Microsoft.KeyVault
     * 
     */
    private @Nullable String keySource;
    /**
     * @return Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.
     * 
     */
    private @Nullable KeyVaultPropertiesResponse keyVaultProperties;

    private AccountEncryptionResponse() {}
    /**
     * @return Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return The encryption keySource (provider). Possible values (case-insensitive):  Microsoft.NetApp, Microsoft.KeyVault
     * 
     */
    public Optional keySource() {
        return Optional.ofNullable(this.keySource);
    }
    /**
     * @return Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.
     * 
     */
    public Optional keyVaultProperties() {
        return Optional.ofNullable(this.keyVaultProperties);
    }

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

    public static Builder builder(AccountEncryptionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable EncryptionIdentityResponse identity;
        private @Nullable String keySource;
        private @Nullable KeyVaultPropertiesResponse keyVaultProperties;
        public Builder() {}
        public Builder(AccountEncryptionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.identity = defaults.identity;
    	      this.keySource = defaults.keySource;
    	      this.keyVaultProperties = defaults.keyVaultProperties;
        }

        @CustomType.Setter
        public Builder identity(@Nullable EncryptionIdentityResponse identity) {

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

            this.keySource = keySource;
            return this;
        }
        @CustomType.Setter
        public Builder keyVaultProperties(@Nullable KeyVaultPropertiesResponse keyVaultProperties) {

            this.keyVaultProperties = keyVaultProperties;
            return this;
        }
        public AccountEncryptionResponse build() {
            final var _resultValue = new AccountEncryptionResponse();
            _resultValue.identity = identity;
            _resultValue.keySource = keySource;
            _resultValue.keyVaultProperties = keyVaultProperties;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy