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

com.pulumi.azurenative.confluent.outputs.RegionSpecEntityResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.confluent.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 RegionSpecEntityResponse {
    /**
     * @return Cloud provider name
     * 
     */
    private @Nullable String cloud;
    /**
     * @return Display Name of the region
     * 
     */
    private @Nullable String name;
    private @Nullable List packages;
    /**
     * @return Region name
     * 
     */
    private @Nullable String regionName;

    private RegionSpecEntityResponse() {}
    /**
     * @return Cloud provider name
     * 
     */
    public Optional cloud() {
        return Optional.ofNullable(this.cloud);
    }
    /**
     * @return Display Name of the region
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    public List packages() {
        return this.packages == null ? List.of() : this.packages;
    }
    /**
     * @return Region name
     * 
     */
    public Optional regionName() {
        return Optional.ofNullable(this.regionName);
    }

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

    public static Builder builder(RegionSpecEntityResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String cloud;
        private @Nullable String name;
        private @Nullable List packages;
        private @Nullable String regionName;
        public Builder() {}
        public Builder(RegionSpecEntityResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cloud = defaults.cloud;
    	      this.name = defaults.name;
    	      this.packages = defaults.packages;
    	      this.regionName = defaults.regionName;
        }

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

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

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

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

            this.regionName = regionName;
            return this;
        }
        public RegionSpecEntityResponse build() {
            final var _resultValue = new RegionSpecEntityResponse();
            _resultValue.cloud = cloud;
            _resultValue.name = name;
            _resultValue.packages = packages;
            _resultValue.regionName = regionName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy