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

com.pulumi.aws.shield.inputs.ProactiveEngagementState 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.shield.inputs;

import com.pulumi.aws.shield.inputs.ProactiveEngagementEmergencyContactArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ProactiveEngagementState Empty = new ProactiveEngagementState();

    /**
     * One or more emergency contacts. You must provide at least one phone number in the emergency contact list. See `emergency_contacts`.
     * 
     */
    @Import(name="emergencyContacts")
    private @Nullable Output> emergencyContacts;

    /**
     * @return One or more emergency contacts. You must provide at least one phone number in the emergency contact list. See `emergency_contacts`.
     * 
     */
    public Optional>> emergencyContacts() {
        return Optional.ofNullable(this.emergencyContacts);
    }

    /**
     * Boolean value indicating if Proactive Engagement should be enabled or not.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Boolean value indicating if Proactive Engagement should be enabled or not.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private ProactiveEngagementState() {}

    private ProactiveEngagementState(ProactiveEngagementState $) {
        this.emergencyContacts = $.emergencyContacts;
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private ProactiveEngagementState $;

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

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

        /**
         * @param emergencyContacts One or more emergency contacts. You must provide at least one phone number in the emergency contact list. See `emergency_contacts`.
         * 
         * @return builder
         * 
         */
        public Builder emergencyContacts(@Nullable Output> emergencyContacts) {
            $.emergencyContacts = emergencyContacts;
            return this;
        }

        /**
         * @param emergencyContacts One or more emergency contacts. You must provide at least one phone number in the emergency contact list. See `emergency_contacts`.
         * 
         * @return builder
         * 
         */
        public Builder emergencyContacts(List emergencyContacts) {
            return emergencyContacts(Output.of(emergencyContacts));
        }

        /**
         * @param emergencyContacts One or more emergency contacts. You must provide at least one phone number in the emergency contact list. See `emergency_contacts`.
         * 
         * @return builder
         * 
         */
        public Builder emergencyContacts(ProactiveEngagementEmergencyContactArgs... emergencyContacts) {
            return emergencyContacts(List.of(emergencyContacts));
        }

        /**
         * @param enabled Boolean value indicating if Proactive Engagement should be enabled or not.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Boolean value indicating if Proactive Engagement should be enabled or not.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public ProactiveEngagementState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy