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

com.pulumi.azurenative.documentdb.outputs.ClientEncryptionIncludedPathResponse 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.documentdb.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ClientEncryptionIncludedPathResponse {
    /**
     * @return The identifier of the Client Encryption Key to be used to encrypt the path.
     * 
     */
    private String clientEncryptionKeyId;
    /**
     * @return The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
     * 
     */
    private String encryptionAlgorithm;
    /**
     * @return The type of encryption to be performed. Eg - Deterministic, Randomized.
     * 
     */
    private String encryptionType;
    /**
     * @return Path that needs to be encrypted.
     * 
     */
    private String path;

    private ClientEncryptionIncludedPathResponse() {}
    /**
     * @return The identifier of the Client Encryption Key to be used to encrypt the path.
     * 
     */
    public String clientEncryptionKeyId() {
        return this.clientEncryptionKeyId;
    }
    /**
     * @return The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
     * 
     */
    public String encryptionAlgorithm() {
        return this.encryptionAlgorithm;
    }
    /**
     * @return The type of encryption to be performed. Eg - Deterministic, Randomized.
     * 
     */
    public String encryptionType() {
        return this.encryptionType;
    }
    /**
     * @return Path that needs to be encrypted.
     * 
     */
    public String path() {
        return this.path;
    }

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

    public static Builder builder(ClientEncryptionIncludedPathResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clientEncryptionKeyId;
        private String encryptionAlgorithm;
        private String encryptionType;
        private String path;
        public Builder() {}
        public Builder(ClientEncryptionIncludedPathResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clientEncryptionKeyId = defaults.clientEncryptionKeyId;
    	      this.encryptionAlgorithm = defaults.encryptionAlgorithm;
    	      this.encryptionType = defaults.encryptionType;
    	      this.path = defaults.path;
        }

        @CustomType.Setter
        public Builder clientEncryptionKeyId(String clientEncryptionKeyId) {
            if (clientEncryptionKeyId == null) {
              throw new MissingRequiredPropertyException("ClientEncryptionIncludedPathResponse", "clientEncryptionKeyId");
            }
            this.clientEncryptionKeyId = clientEncryptionKeyId;
            return this;
        }
        @CustomType.Setter
        public Builder encryptionAlgorithm(String encryptionAlgorithm) {
            if (encryptionAlgorithm == null) {
              throw new MissingRequiredPropertyException("ClientEncryptionIncludedPathResponse", "encryptionAlgorithm");
            }
            this.encryptionAlgorithm = encryptionAlgorithm;
            return this;
        }
        @CustomType.Setter
        public Builder encryptionType(String encryptionType) {
            if (encryptionType == null) {
              throw new MissingRequiredPropertyException("ClientEncryptionIncludedPathResponse", "encryptionType");
            }
            this.encryptionType = encryptionType;
            return this;
        }
        @CustomType.Setter
        public Builder path(String path) {
            if (path == null) {
              throw new MissingRequiredPropertyException("ClientEncryptionIncludedPathResponse", "path");
            }
            this.path = path;
            return this;
        }
        public ClientEncryptionIncludedPathResponse build() {
            final var _resultValue = new ClientEncryptionIncludedPathResponse();
            _resultValue.clientEncryptionKeyId = clientEncryptionKeyId;
            _resultValue.encryptionAlgorithm = encryptionAlgorithm;
            _resultValue.encryptionType = encryptionType;
            _resultValue.path = path;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy