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

com.pulumi.azurenative.storsimple.outputs.ListManagerPublicEncryptionKeyResult Maven / Gradle / Ivy

// *** 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.storsimple.outputs;

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 ListManagerPublicEncryptionKeyResult {
    /**
     * @return The algorithm used to encrypt the "Value".
     * 
     */
    private String encryptionAlgorithm;
    /**
     * @return The value of the secret itself. If the secret is in plaintext or null then EncryptionAlgorithm will be none.
     * 
     */
    private String value;
    /**
     * @return The thumbprint of the cert that was used to encrypt "Value".
     * 
     */
    private @Nullable String valueCertificateThumbprint;

    private ListManagerPublicEncryptionKeyResult() {}
    /**
     * @return The algorithm used to encrypt the "Value".
     * 
     */
    public String encryptionAlgorithm() {
        return this.encryptionAlgorithm;
    }
    /**
     * @return The value of the secret itself. If the secret is in plaintext or null then EncryptionAlgorithm will be none.
     * 
     */
    public String value() {
        return this.value;
    }
    /**
     * @return The thumbprint of the cert that was used to encrypt "Value".
     * 
     */
    public Optional valueCertificateThumbprint() {
        return Optional.ofNullable(this.valueCertificateThumbprint);
    }

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

    public static Builder builder(ListManagerPublicEncryptionKeyResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String encryptionAlgorithm;
        private String value;
        private @Nullable String valueCertificateThumbprint;
        public Builder() {}
        public Builder(ListManagerPublicEncryptionKeyResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.encryptionAlgorithm = defaults.encryptionAlgorithm;
    	      this.value = defaults.value;
    	      this.valueCertificateThumbprint = defaults.valueCertificateThumbprint;
        }

        @CustomType.Setter
        public Builder encryptionAlgorithm(String encryptionAlgorithm) {
            if (encryptionAlgorithm == null) {
              throw new MissingRequiredPropertyException("ListManagerPublicEncryptionKeyResult", "encryptionAlgorithm");
            }
            this.encryptionAlgorithm = encryptionAlgorithm;
            return this;
        }
        @CustomType.Setter
        public Builder value(String value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("ListManagerPublicEncryptionKeyResult", "value");
            }
            this.value = value;
            return this;
        }
        @CustomType.Setter
        public Builder valueCertificateThumbprint(@Nullable String valueCertificateThumbprint) {

            this.valueCertificateThumbprint = valueCertificateThumbprint;
            return this;
        }
        public ListManagerPublicEncryptionKeyResult build() {
            final var _resultValue = new ListManagerPublicEncryptionKeyResult();
            _resultValue.encryptionAlgorithm = encryptionAlgorithm;
            _resultValue.value = value;
            _resultValue.valueCertificateThumbprint = valueCertificateThumbprint;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy