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

com.pulumi.azurenative.redhatopenshift.outputs.APIServerProfileResponse 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.redhatopenshift.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 APIServerProfileResponse {
    /**
     * @return The IP of the cluster API server.
     * 
     */
    private @Nullable String ip;
    /**
     * @return The URL to access the cluster API server.
     * 
     */
    private @Nullable String url;
    /**
     * @return API server visibility.
     * 
     */
    private @Nullable String visibility;

    private APIServerProfileResponse() {}
    /**
     * @return The IP of the cluster API server.
     * 
     */
    public Optional ip() {
        return Optional.ofNullable(this.ip);
    }
    /**
     * @return The URL to access the cluster API server.
     * 
     */
    public Optional url() {
        return Optional.ofNullable(this.url);
    }
    /**
     * @return API server visibility.
     * 
     */
    public Optional visibility() {
        return Optional.ofNullable(this.visibility);
    }

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

    public static Builder builder(APIServerProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String ip;
        private @Nullable String url;
        private @Nullable String visibility;
        public Builder() {}
        public Builder(APIServerProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ip = defaults.ip;
    	      this.url = defaults.url;
    	      this.visibility = defaults.visibility;
        }

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

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

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

            this.visibility = visibility;
            return this;
        }
        public APIServerProfileResponse build() {
            final var _resultValue = new APIServerProfileResponse();
            _resultValue.ip = ip;
            _resultValue.url = url;
            _resultValue.visibility = visibility;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy