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

com.pulumi.azurenative.kusto.outputs.KeyVaultPropertiesResponse 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.kusto.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 KeyVaultPropertiesResponse {
    /**
     * @return The name of the key vault key.
     * 
     */
    private @Nullable String keyName;
    /**
     * @return The Uri of the key vault.
     * 
     */
    private @Nullable String keyVaultUri;
    /**
     * @return The version of the key vault key.
     * 
     */
    private @Nullable String keyVersion;
    /**
     * @return The user assigned identity (ARM resource id) that has access to the key.
     * 
     */
    private @Nullable String userIdentity;

    private KeyVaultPropertiesResponse() {}
    /**
     * @return The name of the key vault key.
     * 
     */
    public Optional keyName() {
        return Optional.ofNullable(this.keyName);
    }
    /**
     * @return The Uri of the key vault.
     * 
     */
    public Optional keyVaultUri() {
        return Optional.ofNullable(this.keyVaultUri);
    }
    /**
     * @return The version of the key vault key.
     * 
     */
    public Optional keyVersion() {
        return Optional.ofNullable(this.keyVersion);
    }
    /**
     * @return The user assigned identity (ARM resource id) that has access to the key.
     * 
     */
    public Optional userIdentity() {
        return Optional.ofNullable(this.userIdentity);
    }

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

    public static Builder builder(KeyVaultPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String keyName;
        private @Nullable String keyVaultUri;
        private @Nullable String keyVersion;
        private @Nullable String userIdentity;
        public Builder() {}
        public Builder(KeyVaultPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.keyName = defaults.keyName;
    	      this.keyVaultUri = defaults.keyVaultUri;
    	      this.keyVersion = defaults.keyVersion;
    	      this.userIdentity = defaults.userIdentity;
        }

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

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

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

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

            this.userIdentity = userIdentity;
            return this;
        }
        public KeyVaultPropertiesResponse build() {
            final var _resultValue = new KeyVaultPropertiesResponse();
            _resultValue.keyName = keyName;
            _resultValue.keyVaultUri = keyVaultUri;
            _resultValue.keyVersion = keyVersion;
            _resultValue.userIdentity = userIdentity;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy