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

com.pulumi.azurenative.devices.inputs.GetDpsCertificatePlainArgs 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.devices.inputs;

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


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

    public static final GetDpsCertificatePlainArgs Empty = new GetDpsCertificatePlainArgs();

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

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

    /**
     * Name of the provisioning service the certificate is associated with.
     * 
     */
    @Import(name="provisioningServiceName", required=true)
    private String provisioningServiceName;

    /**
     * @return Name of the provisioning service the certificate is associated with.
     * 
     */
    public String provisioningServiceName() {
        return this.provisioningServiceName;
    }

    /**
     * Resource group identifier.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return Resource group identifier.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetDpsCertificatePlainArgs() {}

    private GetDpsCertificatePlainArgs(GetDpsCertificatePlainArgs $) {
        this.certificateName = $.certificateName;
        this.provisioningServiceName = $.provisioningServiceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetDpsCertificatePlainArgs $;

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

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

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

        /**
         * @param provisioningServiceName Name of the provisioning service the certificate is associated with.
         * 
         * @return builder
         * 
         */
        public Builder provisioningServiceName(String provisioningServiceName) {
            $.provisioningServiceName = provisioningServiceName;
            return this;
        }

        /**
         * @param resourceGroupName Resource group identifier.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy