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

com.pulumi.aws.computeoptimizer.inputs.EnrollmentStatusState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.computeoptimizer.inputs;

import com.pulumi.aws.computeoptimizer.inputs.EnrollmentStatusTimeoutsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EnrollmentStatusState Empty = new EnrollmentStatusState();

    /**
     * Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.
     * 
     */
    @Import(name="includeMemberAccounts")
    private @Nullable Output includeMemberAccounts;

    /**
     * @return Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.
     * 
     */
    public Optional> includeMemberAccounts() {
        return Optional.ofNullable(this.includeMemberAccounts);
    }

    /**
     * The count of organization member accounts that are opted in to the service, if your account is an organization management account.
     * 
     */
    @Import(name="numberOfMemberAccountsOptedIn")
    private @Nullable Output numberOfMemberAccountsOptedIn;

    /**
     * @return The count of organization member accounts that are opted in to the service, if your account is an organization management account.
     * 
     */
    public Optional> numberOfMemberAccountsOptedIn() {
        return Optional.ofNullable(this.numberOfMemberAccountsOptedIn);
    }

    /**
     * The enrollment status of the account. Valid values: `Active`, `Inactive`.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The enrollment status of the account. Valid values: `Active`, `Inactive`.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    @Import(name="timeouts")
    private @Nullable Output timeouts;

    public Optional> timeouts() {
        return Optional.ofNullable(this.timeouts);
    }

    private EnrollmentStatusState() {}

    private EnrollmentStatusState(EnrollmentStatusState $) {
        this.includeMemberAccounts = $.includeMemberAccounts;
        this.numberOfMemberAccountsOptedIn = $.numberOfMemberAccountsOptedIn;
        this.status = $.status;
        this.timeouts = $.timeouts;
    }

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

    public static final class Builder {
        private EnrollmentStatusState $;

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

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

        /**
         * @param includeMemberAccounts Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder includeMemberAccounts(@Nullable Output includeMemberAccounts) {
            $.includeMemberAccounts = includeMemberAccounts;
            return this;
        }

        /**
         * @param includeMemberAccounts Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder includeMemberAccounts(Boolean includeMemberAccounts) {
            return includeMemberAccounts(Output.of(includeMemberAccounts));
        }

        /**
         * @param numberOfMemberAccountsOptedIn The count of organization member accounts that are opted in to the service, if your account is an organization management account.
         * 
         * @return builder
         * 
         */
        public Builder numberOfMemberAccountsOptedIn(@Nullable Output numberOfMemberAccountsOptedIn) {
            $.numberOfMemberAccountsOptedIn = numberOfMemberAccountsOptedIn;
            return this;
        }

        /**
         * @param numberOfMemberAccountsOptedIn The count of organization member accounts that are opted in to the service, if your account is an organization management account.
         * 
         * @return builder
         * 
         */
        public Builder numberOfMemberAccountsOptedIn(Integer numberOfMemberAccountsOptedIn) {
            return numberOfMemberAccountsOptedIn(Output.of(numberOfMemberAccountsOptedIn));
        }

        /**
         * @param status The enrollment status of the account. Valid values: `Active`, `Inactive`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The enrollment status of the account. Valid values: `Active`, `Inactive`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public Builder timeouts(@Nullable Output timeouts) {
            $.timeouts = timeouts;
            return this;
        }

        public Builder timeouts(EnrollmentStatusTimeoutsArgs timeouts) {
            return timeouts(Output.of(timeouts));
        }

        public EnrollmentStatusState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy