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

com.pulumi.azurenative.dbforpostgresql.outputs.DataEncryptionResponse 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.dbforpostgresql.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 DataEncryptionResponse {
    /**
     * @return URI for the key for data encryption for primary server.
     * 
     */
    private @Nullable String primaryKeyURI;
    /**
     * @return Resource Id for the User assigned identity to be used for data encryption for primary server.
     * 
     */
    private @Nullable String primaryUserAssignedIdentityId;
    /**
     * @return Data encryption type to depict if it is System Managed vs Azure Key vault.
     * 
     */
    private @Nullable String type;

    private DataEncryptionResponse() {}
    /**
     * @return URI for the key for data encryption for primary server.
     * 
     */
    public Optional primaryKeyURI() {
        return Optional.ofNullable(this.primaryKeyURI);
    }
    /**
     * @return Resource Id for the User assigned identity to be used for data encryption for primary server.
     * 
     */
    public Optional primaryUserAssignedIdentityId() {
        return Optional.ofNullable(this.primaryUserAssignedIdentityId);
    }
    /**
     * @return Data encryption type to depict if it is System Managed vs Azure Key vault.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(DataEncryptionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String primaryKeyURI;
        private @Nullable String primaryUserAssignedIdentityId;
        private @Nullable String type;
        public Builder() {}
        public Builder(DataEncryptionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.primaryKeyURI = defaults.primaryKeyURI;
    	      this.primaryUserAssignedIdentityId = defaults.primaryUserAssignedIdentityId;
    	      this.type = defaults.type;
        }

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

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

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

            this.type = type;
            return this;
        }
        public DataEncryptionResponse build() {
            final var _resultValue = new DataEncryptionResponse();
            _resultValue.primaryKeyURI = primaryKeyURI;
            _resultValue.primaryUserAssignedIdentityId = primaryUserAssignedIdentityId;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy