// *** 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.gcp.firebase;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AppleAppArgs extends com.pulumi.resources.ResourceArgs {

    public static final AppleAppArgs Empty = new AppleAppArgs();

    /**
     * The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
     * 
     */
    @Import(name="appStoreId")
    private @Nullable Output<String> appStoreId;

    /**
     * @return The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
     * 
     */
    public Optional<Output<String>> appStoreId() {
        return Optional.ofNullable(this.appStoreId);
    }

    /**
     * The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
     * 
     * ***
     * 
     */
    @Import(name="bundleId", required=true)
    private Output<String> bundleId;

    /**
     * @return The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
     * 
     * ***
     * 
     */
    public Output<String> bundleId() {
        return this.bundleId;
    }

    /**
     * (Optional) Set to &#39;ABANDON&#39; to allow the Apple to be untracked from terraform state rather than deleted upon &#39;terraform
     * destroy&#39;. This is useful because the Apple may be serving traffic. Set to &#39;DELETE&#39; to delete the Apple. Defaults to
     * &#39;DELETE&#39;.
     * 
     */
    @Import(name="deletionPolicy")
    private @Nullable Output<String> deletionPolicy;

    /**
     * @return (Optional) Set to &#39;ABANDON&#39; to allow the Apple to be untracked from terraform state rather than deleted upon &#39;terraform
     * destroy&#39;. This is useful because the Apple may be serving traffic. Set to &#39;DELETE&#39; to delete the Apple. Defaults to
     * &#39;DELETE&#39;.
     * 
     */
    public Optional<Output<String>> deletionPolicy() {
        return Optional.ofNullable(this.deletionPolicy);
    }

    /**
     * The user-assigned display name of the App.
     * 
     */
    @Import(name="displayName", required=true)
    private Output<String> displayName;

    /**
     * @return The user-assigned display name of the App.
     * 
     */
    public Output<String> displayName() {
        return this.displayName;
    }

    /**
     * The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     * 
     */
    @Import(name="project")
    private @Nullable Output<String> project;

    /**
     * @return The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     * 
     */
    public Optional<Output<String>> project() {
        return Optional.ofNullable(this.project);
    }

    /**
     * The Apple Developer Team ID associated with the App in the App Store.
     * 
     */
    @Import(name="teamId")
    private @Nullable Output<String> teamId;

    /**
     * @return The Apple Developer Team ID associated with the App in the App Store.
     * 
     */
    public Optional<Output<String>> teamId() {
        return Optional.ofNullable(this.teamId);
    }

    private AppleAppArgs() {}

    private AppleAppArgs(AppleAppArgs $) {
        this.appStoreId = $.appStoreId;
        this.bundleId = $.bundleId;
        this.deletionPolicy = $.deletionPolicy;
        this.displayName = $.displayName;
        this.project = $.project;
        this.teamId = $.teamId;
    }

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

    public static final class Builder {
        private AppleAppArgs $;

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

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

        /**
         * @param appStoreId The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
         * 
         * @return builder
         * 
         */
        public Builder appStoreId(@Nullable Output<String> appStoreId) {
            $.appStoreId = appStoreId;
            return this;
        }

        /**
         * @param appStoreId The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
         * 
         * @return builder
         * 
         */
        public Builder appStoreId(String appStoreId) {
            return appStoreId(Output.of(appStoreId));
        }

        /**
         * @param bundleId The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder bundleId(Output<String> bundleId) {
            $.bundleId = bundleId;
            return this;
        }

        /**
         * @param bundleId The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder bundleId(String bundleId) {
            return bundleId(Output.of(bundleId));
        }

        /**
         * @param deletionPolicy (Optional) Set to &#39;ABANDON&#39; to allow the Apple to be untracked from terraform state rather than deleted upon &#39;terraform
         * destroy&#39;. This is useful because the Apple may be serving traffic. Set to &#39;DELETE&#39; to delete the Apple. Defaults to
         * &#39;DELETE&#39;.
         * 
         * @return builder
         * 
         */
        public Builder deletionPolicy(@Nullable Output<String> deletionPolicy) {
            $.deletionPolicy = deletionPolicy;
            return this;
        }

        /**
         * @param deletionPolicy (Optional) Set to &#39;ABANDON&#39; to allow the Apple to be untracked from terraform state rather than deleted upon &#39;terraform
         * destroy&#39;. This is useful because the Apple may be serving traffic. Set to &#39;DELETE&#39; to delete the Apple. Defaults to
         * &#39;DELETE&#39;.
         * 
         * @return builder
         * 
         */
        public Builder deletionPolicy(String deletionPolicy) {
            return deletionPolicy(Output.of(deletionPolicy));
        }

        /**
         * @param displayName The user-assigned display name of the App.
         * 
         * @return builder
         * 
         */
        public Builder displayName(Output<String> displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The user-assigned display name of the App.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param project The ID of the project in which the resource belongs.
         * If it is not provided, the provider project is used.
         * 
         * @return builder
         * 
         */
        public Builder project(@Nullable Output<String> project) {
            $.project = project;
            return this;
        }

        /**
         * @param project The ID of the project in which the resource belongs.
         * If it is not provided, the provider project is used.
         * 
         * @return builder
         * 
         */
        public Builder project(String project) {
            return project(Output.of(project));
        }

        /**
         * @param teamId The Apple Developer Team ID associated with the App in the App Store.
         * 
         * @return builder
         * 
         */
        public Builder teamId(@Nullable Output<String> teamId) {
            $.teamId = teamId;
            return this;
        }

        /**
         * @param teamId The Apple Developer Team ID associated with the App in the App Store.
         * 
         * @return builder
         * 
         */
        public Builder teamId(String teamId) {
            return teamId(Output.of(teamId));
        }

        public AppleAppArgs build() {
            $.bundleId = Objects.requireNonNull($.bundleId, "expected parameter 'bundleId' to be non-null");
            $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null");
            return $;
        }
    }

}
