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

com.pulumi.azurenative.testbase.outputs.PreReleaseAccessRequestSpecResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.testbase.outputs;

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

@CustomType
public final class PreReleaseAccessRequestSpecResponse {
    private @Nullable String city;
    private @Nullable String companyWebsite;
    private @Nullable String countryAndRegion;
    private @Nullable String email;
    private @Nullable List engagements;
    private @Nullable String organizationName;
    private @Nullable String stateOrProvince;
    private @Nullable String streetAddress;
    private @Nullable String zipCode;

    private PreReleaseAccessRequestSpecResponse() {}
    public Optional city() {
        return Optional.ofNullable(this.city);
    }
    public Optional companyWebsite() {
        return Optional.ofNullable(this.companyWebsite);
    }
    public Optional countryAndRegion() {
        return Optional.ofNullable(this.countryAndRegion);
    }
    public Optional email() {
        return Optional.ofNullable(this.email);
    }
    public List engagements() {
        return this.engagements == null ? List.of() : this.engagements;
    }
    public Optional organizationName() {
        return Optional.ofNullable(this.organizationName);
    }
    public Optional stateOrProvince() {
        return Optional.ofNullable(this.stateOrProvince);
    }
    public Optional streetAddress() {
        return Optional.ofNullable(this.streetAddress);
    }
    public Optional zipCode() {
        return Optional.ofNullable(this.zipCode);
    }

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

    public static Builder builder(PreReleaseAccessRequestSpecResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String city;
        private @Nullable String companyWebsite;
        private @Nullable String countryAndRegion;
        private @Nullable String email;
        private @Nullable List engagements;
        private @Nullable String organizationName;
        private @Nullable String stateOrProvince;
        private @Nullable String streetAddress;
        private @Nullable String zipCode;
        public Builder() {}
        public Builder(PreReleaseAccessRequestSpecResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.city = defaults.city;
    	      this.companyWebsite = defaults.companyWebsite;
    	      this.countryAndRegion = defaults.countryAndRegion;
    	      this.email = defaults.email;
    	      this.engagements = defaults.engagements;
    	      this.organizationName = defaults.organizationName;
    	      this.stateOrProvince = defaults.stateOrProvince;
    	      this.streetAddress = defaults.streetAddress;
    	      this.zipCode = defaults.zipCode;
        }

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

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

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

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

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

            this.engagements = engagements;
            return this;
        }
        public Builder engagements(String... engagements) {
            return engagements(List.of(engagements));
        }
        @CustomType.Setter
        public Builder organizationName(@Nullable String organizationName) {

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

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

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

            this.zipCode = zipCode;
            return this;
        }
        public PreReleaseAccessRequestSpecResponse build() {
            final var _resultValue = new PreReleaseAccessRequestSpecResponse();
            _resultValue.city = city;
            _resultValue.companyWebsite = companyWebsite;
            _resultValue.countryAndRegion = countryAndRegion;
            _resultValue.email = email;
            _resultValue.engagements = engagements;
            _resultValue.organizationName = organizationName;
            _resultValue.stateOrProvince = stateOrProvince;
            _resultValue.streetAddress = streetAddress;
            _resultValue.zipCode = zipCode;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy