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

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

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
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();

    /**
     * Flag to enroll member accounts of the organization if the account is the management account. No drift detection is currently supported for this argument. Default value is `false`.
     * 
     */
    @Import(name="includeMemberAccounts")
    private @Nullable Output includeMemberAccounts;

    /**
     * @return Flag to enroll member accounts of the organization if the account is the management account. No drift detection is currently supported for this argument. Default value is `false`.
     * 
     */
    public Optional> includeMemberAccounts() {
        return Optional.ofNullable(this.includeMemberAccounts);
    }

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

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

    private EnrollmentStatusState() {}

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

    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 Flag to enroll member accounts of the organization if the account is the management account. No drift detection is currently supported for this argument. Default value is `false`.
         * 
         * @return builder
         * 
         */
        public Builder includeMemberAccounts(@Nullable Output includeMemberAccounts) {
            $.includeMemberAccounts = includeMemberAccounts;
            return this;
        }

        /**
         * @param includeMemberAccounts Flag to enroll member accounts of the organization if the account is the management account. No drift detection is currently supported for this argument. Default value is `false`.
         * 
         * @return builder
         * 
         */
        public Builder includeMemberAccounts(Boolean includeMemberAccounts) {
            return includeMemberAccounts(Output.of(includeMemberAccounts));
        }

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

        public Builder status(String status) {
            return status(Output.of(status));
        }

        public EnrollmentStatusState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy