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

com.pulumi.azurenative.datamigration.outputs.SelectedCertificateInputResponse 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.datamigration.outputs;

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

@CustomType
public final class SelectedCertificateInputResponse {
    /**
     * @return Name of certificate to be exported.
     * 
     */
    private String certificateName;
    /**
     * @return Password to use for encrypting the exported certificate.
     * 
     */
    private String password;

    private SelectedCertificateInputResponse() {}
    /**
     * @return Name of certificate to be exported.
     * 
     */
    public String certificateName() {
        return this.certificateName;
    }
    /**
     * @return Password to use for encrypting the exported certificate.
     * 
     */
    public String password() {
        return this.password;
    }

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

    public static Builder builder(SelectedCertificateInputResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String certificateName;
        private String password;
        public Builder() {}
        public Builder(SelectedCertificateInputResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certificateName = defaults.certificateName;
    	      this.password = defaults.password;
        }

        @CustomType.Setter
        public Builder certificateName(String certificateName) {
            if (certificateName == null) {
              throw new MissingRequiredPropertyException("SelectedCertificateInputResponse", "certificateName");
            }
            this.certificateName = certificateName;
            return this;
        }
        @CustomType.Setter
        public Builder password(String password) {
            if (password == null) {
              throw new MissingRequiredPropertyException("SelectedCertificateInputResponse", "password");
            }
            this.password = password;
            return this;
        }
        public SelectedCertificateInputResponse build() {
            final var _resultValue = new SelectedCertificateInputResponse();
            _resultValue.certificateName = certificateName;
            _resultValue.password = password;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy