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

com.pulumi.aws.guardduty.inputs.InviteAccepterState 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.guardduty.inputs;

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 InviteAccepterState extends com.pulumi.resources.ResourceArgs {

    public static final InviteAccepterState Empty = new InviteAccepterState();

    /**
     * The detector ID of the member GuardDuty account.
     * 
     */
    @Import(name="detectorId")
    private @Nullable Output detectorId;

    /**
     * @return The detector ID of the member GuardDuty account.
     * 
     */
    public Optional> detectorId() {
        return Optional.ofNullable(this.detectorId);
    }

    /**
     * AWS account ID for primary account.
     * 
     */
    @Import(name="masterAccountId")
    private @Nullable Output masterAccountId;

    /**
     * @return AWS account ID for primary account.
     * 
     */
    public Optional> masterAccountId() {
        return Optional.ofNullable(this.masterAccountId);
    }

    private InviteAccepterState() {}

    private InviteAccepterState(InviteAccepterState $) {
        this.detectorId = $.detectorId;
        this.masterAccountId = $.masterAccountId;
    }

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

    public static final class Builder {
        private InviteAccepterState $;

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

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

        /**
         * @param detectorId The detector ID of the member GuardDuty account.
         * 
         * @return builder
         * 
         */
        public Builder detectorId(@Nullable Output detectorId) {
            $.detectorId = detectorId;
            return this;
        }

        /**
         * @param detectorId The detector ID of the member GuardDuty account.
         * 
         * @return builder
         * 
         */
        public Builder detectorId(String detectorId) {
            return detectorId(Output.of(detectorId));
        }

        /**
         * @param masterAccountId AWS account ID for primary account.
         * 
         * @return builder
         * 
         */
        public Builder masterAccountId(@Nullable Output masterAccountId) {
            $.masterAccountId = masterAccountId;
            return this;
        }

        /**
         * @param masterAccountId AWS account ID for primary account.
         * 
         * @return builder
         * 
         */
        public Builder masterAccountId(String masterAccountId) {
            return masterAccountId(Output.of(masterAccountId));
        }

        public InviteAccepterState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy