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

com.pulumi.aws.acmpca.inputs.GetCertificateArgs 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.aws.acmpca.inputs;

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


public final class GetCertificateArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCertificateArgs Empty = new GetCertificateArgs();

    /**
     * ARN of the certificate issued by the private certificate authority.
     * 
     */
    @Import(name="arn", required=true)
    private Output arn;

    /**
     * @return ARN of the certificate issued by the private certificate authority.
     * 
     */
    public Output arn() {
        return this.arn;
    }

    /**
     * ARN of the certificate authority.
     * 
     */
    @Import(name="certificateAuthorityArn", required=true)
    private Output certificateAuthorityArn;

    /**
     * @return ARN of the certificate authority.
     * 
     */
    public Output certificateAuthorityArn() {
        return this.certificateAuthorityArn;
    }

    private GetCertificateArgs() {}

    private GetCertificateArgs(GetCertificateArgs $) {
        this.arn = $.arn;
        this.certificateAuthorityArn = $.certificateAuthorityArn;
    }

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

    public static final class Builder {
        private GetCertificateArgs $;

        public Builder() {
            $ = new GetCertificateArgs();
        }

        public Builder(GetCertificateArgs defaults) {
            $ = new GetCertificateArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param arn ARN of the certificate issued by the private certificate authority.
         * 
         * @return builder
         * 
         */
        public Builder arn(Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the certificate issued by the private certificate authority.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param certificateAuthorityArn ARN of the certificate authority.
         * 
         * @return builder
         * 
         */
        public Builder certificateAuthorityArn(Output certificateAuthorityArn) {
            $.certificateAuthorityArn = certificateAuthorityArn;
            return this;
        }

        /**
         * @param certificateAuthorityArn ARN of the certificate authority.
         * 
         * @return builder
         * 
         */
        public Builder certificateAuthorityArn(String certificateAuthorityArn) {
            return certificateAuthorityArn(Output.of(certificateAuthorityArn));
        }

        public GetCertificateArgs build() {
            if ($.arn == null) {
                throw new MissingRequiredPropertyException("GetCertificateArgs", "arn");
            }
            if ($.certificateAuthorityArn == null) {
                throw new MissingRequiredPropertyException("GetCertificateArgs", "certificateAuthorityArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy