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

com.pulumi.azurenative.certificateregistration.outputs.CertificateOrderContactResponse 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.certificateregistration.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class CertificateOrderContactResponse {
    private @Nullable String email;
    private @Nullable String nameFirst;
    private @Nullable String nameLast;
    private @Nullable String phone;

    private CertificateOrderContactResponse() {}
    public Optional email() {
        return Optional.ofNullable(this.email);
    }
    public Optional nameFirst() {
        return Optional.ofNullable(this.nameFirst);
    }
    public Optional nameLast() {
        return Optional.ofNullable(this.nameLast);
    }
    public Optional phone() {
        return Optional.ofNullable(this.phone);
    }

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

    public static Builder builder(CertificateOrderContactResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String email;
        private @Nullable String nameFirst;
        private @Nullable String nameLast;
        private @Nullable String phone;
        public Builder() {}
        public Builder(CertificateOrderContactResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.email = defaults.email;
    	      this.nameFirst = defaults.nameFirst;
    	      this.nameLast = defaults.nameLast;
    	      this.phone = defaults.phone;
        }

        @CustomType.Setter
        public Builder email(@Nullable String email) {

            this.email = email;
            return this;
        }
        @CustomType.Setter
        public Builder nameFirst(@Nullable String nameFirst) {

            this.nameFirst = nameFirst;
            return this;
        }
        @CustomType.Setter
        public Builder nameLast(@Nullable String nameLast) {

            this.nameLast = nameLast;
            return this;
        }
        @CustomType.Setter
        public Builder phone(@Nullable String phone) {

            this.phone = phone;
            return this;
        }
        public CertificateOrderContactResponse build() {
            final var _resultValue = new CertificateOrderContactResponse();
            _resultValue.email = email;
            _resultValue.nameFirst = nameFirst;
            _resultValue.nameLast = nameLast;
            _resultValue.phone = phone;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy