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

com.pulumi.azurenative.containerservice.outputs.OpenShiftRouterProfileResponse 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.containerservice.outputs;

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

@CustomType
public final class OpenShiftRouterProfileResponse {
    /**
     * @return Auto-allocated FQDN for the OpenShift router.
     * 
     */
    private String fqdn;
    /**
     * @return Name of the router profile.
     * 
     */
    private @Nullable String name;
    /**
     * @return DNS subdomain for OpenShift router.
     * 
     */
    private String publicSubdomain;

    private OpenShiftRouterProfileResponse() {}
    /**
     * @return Auto-allocated FQDN for the OpenShift router.
     * 
     */
    public String fqdn() {
        return this.fqdn;
    }
    /**
     * @return Name of the router profile.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return DNS subdomain for OpenShift router.
     * 
     */
    public String publicSubdomain() {
        return this.publicSubdomain;
    }

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

    public static Builder builder(OpenShiftRouterProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String fqdn;
        private @Nullable String name;
        private String publicSubdomain;
        public Builder() {}
        public Builder(OpenShiftRouterProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.fqdn = defaults.fqdn;
    	      this.name = defaults.name;
    	      this.publicSubdomain = defaults.publicSubdomain;
        }

        @CustomType.Setter
        public Builder fqdn(String fqdn) {
            if (fqdn == null) {
              throw new MissingRequiredPropertyException("OpenShiftRouterProfileResponse", "fqdn");
            }
            this.fqdn = fqdn;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder publicSubdomain(String publicSubdomain) {
            if (publicSubdomain == null) {
              throw new MissingRequiredPropertyException("OpenShiftRouterProfileResponse", "publicSubdomain");
            }
            this.publicSubdomain = publicSubdomain;
            return this;
        }
        public OpenShiftRouterProfileResponse build() {
            final var _resultValue = new OpenShiftRouterProfileResponse();
            _resultValue.fqdn = fqdn;
            _resultValue.name = name;
            _resultValue.publicSubdomain = publicSubdomain;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy