// *** 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.azure.containerapp.inputs;

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


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

    public static final GetEnvironmentCertificatePlainArgs Empty = new GetEnvironmentCertificatePlainArgs();

    /**
     * The ID of the Container App Environment to configure this Certificate on. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="containerAppEnvironmentId", required=true)
    private String containerAppEnvironmentId;

    /**
     * @return The ID of the Container App Environment to configure this Certificate on. Changing this forces a new resource to be created.
     * 
     */
    public String containerAppEnvironmentId() {
        return this.containerAppEnvironmentId;
    }

    /**
     * The name of the Container Apps Certificate. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return The name of the Container Apps Certificate. Changing this forces a new resource to be created.
     * 
     */
    public String name() {
        return this.name;
    }

    private GetEnvironmentCertificatePlainArgs() {}

    private GetEnvironmentCertificatePlainArgs(GetEnvironmentCertificatePlainArgs $) {
        this.containerAppEnvironmentId = $.containerAppEnvironmentId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetEnvironmentCertificatePlainArgs $;

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

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

        /**
         * @param containerAppEnvironmentId The ID of the Container App Environment to configure this Certificate on. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder containerAppEnvironmentId(String containerAppEnvironmentId) {
            $.containerAppEnvironmentId = containerAppEnvironmentId;
            return this;
        }

        /**
         * @param name The name of the Container Apps Certificate. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        public GetEnvironmentCertificatePlainArgs build() {
            $.containerAppEnvironmentId = Objects.requireNonNull($.containerAppEnvironmentId, "expected parameter 'containerAppEnvironmentId' to be non-null");
            $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null");
            return $;
        }
    }

}
