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

com.pulumi.azurenative.databoxedge.outputs.ContactDetailsResponse 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.azurenative.databoxedge.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class ContactDetailsResponse {
    /**
     * @return The name of the company.
     * 
     */
    private String companyName;
    /**
     * @return The contact person name.
     * 
     */
    private String contactPerson;
    /**
     * @return The email list.
     * 
     */
    private List emailList;
    /**
     * @return The phone number.
     * 
     */
    private String phone;

    private ContactDetailsResponse() {}
    /**
     * @return The name of the company.
     * 
     */
    public String companyName() {
        return this.companyName;
    }
    /**
     * @return The contact person name.
     * 
     */
    public String contactPerson() {
        return this.contactPerson;
    }
    /**
     * @return The email list.
     * 
     */
    public List emailList() {
        return this.emailList;
    }
    /**
     * @return The phone number.
     * 
     */
    public String phone() {
        return this.phone;
    }

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

    public static Builder builder(ContactDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String companyName;
        private String contactPerson;
        private List emailList;
        private String phone;
        public Builder() {}
        public Builder(ContactDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.companyName = defaults.companyName;
    	      this.contactPerson = defaults.contactPerson;
    	      this.emailList = defaults.emailList;
    	      this.phone = defaults.phone;
        }

        @CustomType.Setter
        public Builder companyName(String companyName) {
            if (companyName == null) {
              throw new MissingRequiredPropertyException("ContactDetailsResponse", "companyName");
            }
            this.companyName = companyName;
            return this;
        }
        @CustomType.Setter
        public Builder contactPerson(String contactPerson) {
            if (contactPerson == null) {
              throw new MissingRequiredPropertyException("ContactDetailsResponse", "contactPerson");
            }
            this.contactPerson = contactPerson;
            return this;
        }
        @CustomType.Setter
        public Builder emailList(List emailList) {
            if (emailList == null) {
              throw new MissingRequiredPropertyException("ContactDetailsResponse", "emailList");
            }
            this.emailList = emailList;
            return this;
        }
        public Builder emailList(String... emailList) {
            return emailList(List.of(emailList));
        }
        @CustomType.Setter
        public Builder phone(String phone) {
            if (phone == null) {
              throw new MissingRequiredPropertyException("ContactDetailsResponse", "phone");
            }
            this.phone = phone;
            return this;
        }
        public ContactDetailsResponse build() {
            final var _resultValue = new ContactDetailsResponse();
            _resultValue.companyName = companyName;
            _resultValue.contactPerson = contactPerson;
            _resultValue.emailList = emailList;
            _resultValue.phone = phone;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy