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

com.pulumi.cloudngfwaws.AccountOnboardingArgs Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha.1731490948
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.cloudngfwaws;

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


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

    public static final AccountOnboardingArgs Empty = new AccountOnboardingArgs();

    /**
     * The account IDs
     * 
     */
    @Import(name="accountId", required=true)
    private Output accountId;

    /**
     * @return The account IDs
     * 
     */
    public Output accountId() {
        return this.accountId;
    }

    /**
     * Onboarding status of the account
     * 
     */
    @Import(name="onboardingStatus")
    private @Nullable Output onboardingStatus;

    /**
     * @return Onboarding status of the account
     * 
     */
    public Optional> onboardingStatus() {
        return Optional.ofNullable(this.onboardingStatus);
    }

    private AccountOnboardingArgs() {}

    private AccountOnboardingArgs(AccountOnboardingArgs $) {
        this.accountId = $.accountId;
        this.onboardingStatus = $.onboardingStatus;
    }

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

    public static final class Builder {
        private AccountOnboardingArgs $;

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

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

        /**
         * @param accountId The account IDs
         * 
         * @return builder
         * 
         */
        public Builder accountId(Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId The account IDs
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param onboardingStatus Onboarding status of the account
         * 
         * @return builder
         * 
         */
        public Builder onboardingStatus(@Nullable Output onboardingStatus) {
            $.onboardingStatus = onboardingStatus;
            return this;
        }

        /**
         * @param onboardingStatus Onboarding status of the account
         * 
         * @return builder
         * 
         */
        public Builder onboardingStatus(String onboardingStatus) {
            return onboardingStatus(Output.of(onboardingStatus));
        }

        public AccountOnboardingArgs build() {
            if ($.accountId == null) {
                throw new MissingRequiredPropertyException("AccountOnboardingArgs", "accountId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy