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

com.pulumi.azurenative.sql.inputs.GetServerTrustCertificatePlainArgs 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.sql.inputs;

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


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

    public static final GetServerTrustCertificatePlainArgs Empty = new GetServerTrustCertificatePlainArgs();

    /**
     * Name of of the certificate to get.
     * 
     */
    @Import(name="certificateName", required=true)
    private String certificateName;

    /**
     * @return Name of of the certificate to get.
     * 
     */
    public String certificateName() {
        return this.certificateName;
    }

    /**
     * The name of the managed instance.
     * 
     */
    @Import(name="managedInstanceName", required=true)
    private String managedInstanceName;

    /**
     * @return The name of the managed instance.
     * 
     */
    public String managedInstanceName() {
        return this.managedInstanceName;
    }

    /**
     * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetServerTrustCertificatePlainArgs() {}

    private GetServerTrustCertificatePlainArgs(GetServerTrustCertificatePlainArgs $) {
        this.certificateName = $.certificateName;
        this.managedInstanceName = $.managedInstanceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetServerTrustCertificatePlainArgs $;

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

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

        /**
         * @param certificateName Name of of the certificate to get.
         * 
         * @return builder
         * 
         */
        public Builder certificateName(String certificateName) {
            $.certificateName = certificateName;
            return this;
        }

        /**
         * @param managedInstanceName The name of the managed instance.
         * 
         * @return builder
         * 
         */
        public Builder managedInstanceName(String managedInstanceName) {
            $.managedInstanceName = managedInstanceName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetServerTrustCertificatePlainArgs build() {
            if ($.certificateName == null) {
                throw new MissingRequiredPropertyException("GetServerTrustCertificatePlainArgs", "certificateName");
            }
            if ($.managedInstanceName == null) {
                throw new MissingRequiredPropertyException("GetServerTrustCertificatePlainArgs", "managedInstanceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetServerTrustCertificatePlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy