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

com.pulumi.aws.account.inputs.AlternativeContactState 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.60.0-alpha.1731982519
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.account.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 AlternativeContactState extends com.pulumi.resources.ResourceArgs {

    public static final AlternativeContactState Empty = new AlternativeContactState();

    /**
     * ID of the target account when managing member accounts. Will manage current user's account by default if omitted.
     * 
     */
    @Import(name="accountId")
    private @Nullable Output accountId;

    /**
     * @return ID of the target account when managing member accounts. Will manage current user's account by default if omitted.
     * 
     */
    public Optional> accountId() {
        return Optional.ofNullable(this.accountId);
    }

    /**
     * Type of the alternate contact. Allowed values are: `BILLING`, `OPERATIONS`, `SECURITY`.
     * 
     */
    @Import(name="alternateContactType")
    private @Nullable Output alternateContactType;

    /**
     * @return Type of the alternate contact. Allowed values are: `BILLING`, `OPERATIONS`, `SECURITY`.
     * 
     */
    public Optional> alternateContactType() {
        return Optional.ofNullable(this.alternateContactType);
    }

    /**
     * An email address for the alternate contact.
     * 
     */
    @Import(name="emailAddress")
    private @Nullable Output emailAddress;

    /**
     * @return An email address for the alternate contact.
     * 
     */
    public Optional> emailAddress() {
        return Optional.ofNullable(this.emailAddress);
    }

    /**
     * Name of the alternate contact.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the alternate contact.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Phone number for the alternate contact.
     * 
     */
    @Import(name="phoneNumber")
    private @Nullable Output phoneNumber;

    /**
     * @return Phone number for the alternate contact.
     * 
     */
    public Optional> phoneNumber() {
        return Optional.ofNullable(this.phoneNumber);
    }

    /**
     * Title for the alternate contact.
     * 
     */
    @Import(name="title")
    private @Nullable Output title;

    /**
     * @return Title for the alternate contact.
     * 
     */
    public Optional> title() {
        return Optional.ofNullable(this.title);
    }

    private AlternativeContactState() {}

    private AlternativeContactState(AlternativeContactState $) {
        this.accountId = $.accountId;
        this.alternateContactType = $.alternateContactType;
        this.emailAddress = $.emailAddress;
        this.name = $.name;
        this.phoneNumber = $.phoneNumber;
        this.title = $.title;
    }

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

    public static final class Builder {
        private AlternativeContactState $;

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

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

        /**
         * @param accountId ID of the target account when managing member accounts. Will manage current user's account by default if omitted.
         * 
         * @return builder
         * 
         */
        public Builder accountId(@Nullable Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId ID of the target account when managing member accounts. Will manage current user's account by default if omitted.
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param alternateContactType Type of the alternate contact. Allowed values are: `BILLING`, `OPERATIONS`, `SECURITY`.
         * 
         * @return builder
         * 
         */
        public Builder alternateContactType(@Nullable Output alternateContactType) {
            $.alternateContactType = alternateContactType;
            return this;
        }

        /**
         * @param alternateContactType Type of the alternate contact. Allowed values are: `BILLING`, `OPERATIONS`, `SECURITY`.
         * 
         * @return builder
         * 
         */
        public Builder alternateContactType(String alternateContactType) {
            return alternateContactType(Output.of(alternateContactType));
        }

        /**
         * @param emailAddress An email address for the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder emailAddress(@Nullable Output emailAddress) {
            $.emailAddress = emailAddress;
            return this;
        }

        /**
         * @param emailAddress An email address for the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder emailAddress(String emailAddress) {
            return emailAddress(Output.of(emailAddress));
        }

        /**
         * @param name Name of the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param phoneNumber Phone number for the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder phoneNumber(@Nullable Output phoneNumber) {
            $.phoneNumber = phoneNumber;
            return this;
        }

        /**
         * @param phoneNumber Phone number for the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder phoneNumber(String phoneNumber) {
            return phoneNumber(Output.of(phoneNumber));
        }

        /**
         * @param title Title for the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder title(@Nullable Output title) {
            $.title = title;
            return this;
        }

        /**
         * @param title Title for the alternate contact.
         * 
         * @return builder
         * 
         */
        public Builder title(String title) {
            return title(Output.of(title));
        }

        public AlternativeContactState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy