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

com.pulumi.aws.account.inputs.PrimaryContactState 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.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 PrimaryContactState extends com.pulumi.resources.ResourceArgs {

    public static final PrimaryContactState Empty = new PrimaryContactState();

    /**
     * The 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 The 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);
    }

    /**
     * The first line of the primary contact address.
     * 
     */
    @Import(name="addressLine1")
    private @Nullable Output addressLine1;

    /**
     * @return The first line of the primary contact address.
     * 
     */
    public Optional> addressLine1() {
        return Optional.ofNullable(this.addressLine1);
    }

    /**
     * The second line of the primary contact address, if any.
     * 
     */
    @Import(name="addressLine2")
    private @Nullable Output addressLine2;

    /**
     * @return The second line of the primary contact address, if any.
     * 
     */
    public Optional> addressLine2() {
        return Optional.ofNullable(this.addressLine2);
    }

    /**
     * The third line of the primary contact address, if any.
     * 
     */
    @Import(name="addressLine3")
    private @Nullable Output addressLine3;

    /**
     * @return The third line of the primary contact address, if any.
     * 
     */
    public Optional> addressLine3() {
        return Optional.ofNullable(this.addressLine3);
    }

    /**
     * The city of the primary contact address.
     * 
     */
    @Import(name="city")
    private @Nullable Output city;

    /**
     * @return The city of the primary contact address.
     * 
     */
    public Optional> city() {
        return Optional.ofNullable(this.city);
    }

    /**
     * The name of the company associated with the primary contact information, if any.
     * 
     */
    @Import(name="companyName")
    private @Nullable Output companyName;

    /**
     * @return The name of the company associated with the primary contact information, if any.
     * 
     */
    public Optional> companyName() {
        return Optional.ofNullable(this.companyName);
    }

    /**
     * The ISO-3166 two-letter country code for the primary contact address.
     * 
     */
    @Import(name="countryCode")
    private @Nullable Output countryCode;

    /**
     * @return The ISO-3166 two-letter country code for the primary contact address.
     * 
     */
    public Optional> countryCode() {
        return Optional.ofNullable(this.countryCode);
    }

    /**
     * The district or county of the primary contact address, if any.
     * 
     */
    @Import(name="districtOrCounty")
    private @Nullable Output districtOrCounty;

    /**
     * @return The district or county of the primary contact address, if any.
     * 
     */
    public Optional> districtOrCounty() {
        return Optional.ofNullable(this.districtOrCounty);
    }

    /**
     * The full name of the primary contact address.
     * 
     */
    @Import(name="fullName")
    private @Nullable Output fullName;

    /**
     * @return The full name of the primary contact address.
     * 
     */
    public Optional> fullName() {
        return Optional.ofNullable(this.fullName);
    }

    /**
     * The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
     * 
     */
    @Import(name="phoneNumber")
    private @Nullable Output phoneNumber;

    /**
     * @return The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
     * 
     */
    public Optional> phoneNumber() {
        return Optional.ofNullable(this.phoneNumber);
    }

    /**
     * The postal code of the primary contact address.
     * 
     */
    @Import(name="postalCode")
    private @Nullable Output postalCode;

    /**
     * @return The postal code of the primary contact address.
     * 
     */
    public Optional> postalCode() {
        return Optional.ofNullable(this.postalCode);
    }

    /**
     * The state or region of the primary contact address. This field is required in selected countries.
     * 
     */
    @Import(name="stateOrRegion")
    private @Nullable Output stateOrRegion;

    /**
     * @return The state or region of the primary contact address. This field is required in selected countries.
     * 
     */
    public Optional> stateOrRegion() {
        return Optional.ofNullable(this.stateOrRegion);
    }

    /**
     * The URL of the website associated with the primary contact information, if any.
     * 
     */
    @Import(name="websiteUrl")
    private @Nullable Output websiteUrl;

    /**
     * @return The URL of the website associated with the primary contact information, if any.
     * 
     */
    public Optional> websiteUrl() {
        return Optional.ofNullable(this.websiteUrl);
    }

    private PrimaryContactState() {}

    private PrimaryContactState(PrimaryContactState $) {
        this.accountId = $.accountId;
        this.addressLine1 = $.addressLine1;
        this.addressLine2 = $.addressLine2;
        this.addressLine3 = $.addressLine3;
        this.city = $.city;
        this.companyName = $.companyName;
        this.countryCode = $.countryCode;
        this.districtOrCounty = $.districtOrCounty;
        this.fullName = $.fullName;
        this.phoneNumber = $.phoneNumber;
        this.postalCode = $.postalCode;
        this.stateOrRegion = $.stateOrRegion;
        this.websiteUrl = $.websiteUrl;
    }

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

    public static final class Builder {
        private PrimaryContactState $;

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

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

        /**
         * @param accountId The 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 The 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 addressLine1 The first line of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder addressLine1(@Nullable Output addressLine1) {
            $.addressLine1 = addressLine1;
            return this;
        }

        /**
         * @param addressLine1 The first line of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder addressLine1(String addressLine1) {
            return addressLine1(Output.of(addressLine1));
        }

        /**
         * @param addressLine2 The second line of the primary contact address, if any.
         * 
         * @return builder
         * 
         */
        public Builder addressLine2(@Nullable Output addressLine2) {
            $.addressLine2 = addressLine2;
            return this;
        }

        /**
         * @param addressLine2 The second line of the primary contact address, if any.
         * 
         * @return builder
         * 
         */
        public Builder addressLine2(String addressLine2) {
            return addressLine2(Output.of(addressLine2));
        }

        /**
         * @param addressLine3 The third line of the primary contact address, if any.
         * 
         * @return builder
         * 
         */
        public Builder addressLine3(@Nullable Output addressLine3) {
            $.addressLine3 = addressLine3;
            return this;
        }

        /**
         * @param addressLine3 The third line of the primary contact address, if any.
         * 
         * @return builder
         * 
         */
        public Builder addressLine3(String addressLine3) {
            return addressLine3(Output.of(addressLine3));
        }

        /**
         * @param city The city of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder city(@Nullable Output city) {
            $.city = city;
            return this;
        }

        /**
         * @param city The city of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder city(String city) {
            return city(Output.of(city));
        }

        /**
         * @param companyName The name of the company associated with the primary contact information, if any.
         * 
         * @return builder
         * 
         */
        public Builder companyName(@Nullable Output companyName) {
            $.companyName = companyName;
            return this;
        }

        /**
         * @param companyName The name of the company associated with the primary contact information, if any.
         * 
         * @return builder
         * 
         */
        public Builder companyName(String companyName) {
            return companyName(Output.of(companyName));
        }

        /**
         * @param countryCode The ISO-3166 two-letter country code for the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder countryCode(@Nullable Output countryCode) {
            $.countryCode = countryCode;
            return this;
        }

        /**
         * @param countryCode The ISO-3166 two-letter country code for the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder countryCode(String countryCode) {
            return countryCode(Output.of(countryCode));
        }

        /**
         * @param districtOrCounty The district or county of the primary contact address, if any.
         * 
         * @return builder
         * 
         */
        public Builder districtOrCounty(@Nullable Output districtOrCounty) {
            $.districtOrCounty = districtOrCounty;
            return this;
        }

        /**
         * @param districtOrCounty The district or county of the primary contact address, if any.
         * 
         * @return builder
         * 
         */
        public Builder districtOrCounty(String districtOrCounty) {
            return districtOrCounty(Output.of(districtOrCounty));
        }

        /**
         * @param fullName The full name of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder fullName(@Nullable Output fullName) {
            $.fullName = fullName;
            return this;
        }

        /**
         * @param fullName The full name of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder fullName(String fullName) {
            return fullName(Output.of(fullName));
        }

        /**
         * @param phoneNumber The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
         * 
         * @return builder
         * 
         */
        public Builder phoneNumber(@Nullable Output phoneNumber) {
            $.phoneNumber = phoneNumber;
            return this;
        }

        /**
         * @param phoneNumber The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
         * 
         * @return builder
         * 
         */
        public Builder phoneNumber(String phoneNumber) {
            return phoneNumber(Output.of(phoneNumber));
        }

        /**
         * @param postalCode The postal code of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder postalCode(@Nullable Output postalCode) {
            $.postalCode = postalCode;
            return this;
        }

        /**
         * @param postalCode The postal code of the primary contact address.
         * 
         * @return builder
         * 
         */
        public Builder postalCode(String postalCode) {
            return postalCode(Output.of(postalCode));
        }

        /**
         * @param stateOrRegion The state or region of the primary contact address. This field is required in selected countries.
         * 
         * @return builder
         * 
         */
        public Builder stateOrRegion(@Nullable Output stateOrRegion) {
            $.stateOrRegion = stateOrRegion;
            return this;
        }

        /**
         * @param stateOrRegion The state or region of the primary contact address. This field is required in selected countries.
         * 
         * @return builder
         * 
         */
        public Builder stateOrRegion(String stateOrRegion) {
            return stateOrRegion(Output.of(stateOrRegion));
        }

        /**
         * @param websiteUrl The URL of the website associated with the primary contact information, if any.
         * 
         * @return builder
         * 
         */
        public Builder websiteUrl(@Nullable Output websiteUrl) {
            $.websiteUrl = websiteUrl;
            return this;
        }

        /**
         * @param websiteUrl The URL of the website associated with the primary contact information, if any.
         * 
         * @return builder
         * 
         */
        public Builder websiteUrl(String websiteUrl) {
            return websiteUrl(Output.of(websiteUrl));
        }

        public PrimaryContactState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy