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

com.pulumi.azurenative.cognitiveservices.outputs.EncryptionScopePropertiesResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.cognitiveservices.outputs.KeyVaultPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EncryptionScopePropertiesResponse {
    /**
     * @return Enumerates the possible value of keySource for Encryption
     * 
     */
    private @Nullable String keySource;
    /**
     * @return Properties of KeyVault
     * 
     */
    private @Nullable KeyVaultPropertiesResponse keyVaultProperties;
    /**
     * @return Gets the status of the resource at the time the operation was called.
     * 
     */
    private String provisioningState;
    /**
     * @return The encryptionScope state.
     * 
     */
    private @Nullable String state;

    private EncryptionScopePropertiesResponse() {}
    /**
     * @return Enumerates the possible value of keySource for Encryption
     * 
     */
    public Optional keySource() {
        return Optional.ofNullable(this.keySource);
    }
    /**
     * @return Properties of KeyVault
     * 
     */
    public Optional keyVaultProperties() {
        return Optional.ofNullable(this.keyVaultProperties);
    }
    /**
     * @return Gets the status of the resource at the time the operation was called.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The encryptionScope state.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }

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

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

        @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;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("EncryptionScopePropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder state(@Nullable String state) {

            this.state = state;
            return this;
        }
        public EncryptionScopePropertiesResponse build() {
            final var _resultValue = new EncryptionScopePropertiesResponse();
            _resultValue.keySource = keySource;
            _resultValue.keyVaultProperties = keyVaultProperties;
            _resultValue.provisioningState = provisioningState;
            _resultValue.state = state;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy