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

com.pulumi.azurenative.network.outputs.RadiusServerResponse 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.network.outputs;

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

@CustomType
public final class RadiusServerResponse {
    /**
     * @return The address of this radius server.
     * 
     */
    private String radiusServerAddress;
    /**
     * @return The initial score assigned to this radius server.
     * 
     */
    private @Nullable Double radiusServerScore;
    /**
     * @return The secret used for this radius server.
     * 
     */
    private @Nullable String radiusServerSecret;

    private RadiusServerResponse() {}
    /**
     * @return The address of this radius server.
     * 
     */
    public String radiusServerAddress() {
        return this.radiusServerAddress;
    }
    /**
     * @return The initial score assigned to this radius server.
     * 
     */
    public Optional radiusServerScore() {
        return Optional.ofNullable(this.radiusServerScore);
    }
    /**
     * @return The secret used for this radius server.
     * 
     */
    public Optional radiusServerSecret() {
        return Optional.ofNullable(this.radiusServerSecret);
    }

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

    public static Builder builder(RadiusServerResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String radiusServerAddress;
        private @Nullable Double radiusServerScore;
        private @Nullable String radiusServerSecret;
        public Builder() {}
        public Builder(RadiusServerResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.radiusServerAddress = defaults.radiusServerAddress;
    	      this.radiusServerScore = defaults.radiusServerScore;
    	      this.radiusServerSecret = defaults.radiusServerSecret;
        }

        @CustomType.Setter
        public Builder radiusServerAddress(String radiusServerAddress) {
            if (radiusServerAddress == null) {
              throw new MissingRequiredPropertyException("RadiusServerResponse", "radiusServerAddress");
            }
            this.radiusServerAddress = radiusServerAddress;
            return this;
        }
        @CustomType.Setter
        public Builder radiusServerScore(@Nullable Double radiusServerScore) {

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

            this.radiusServerSecret = radiusServerSecret;
            return this;
        }
        public RadiusServerResponse build() {
            final var _resultValue = new RadiusServerResponse();
            _resultValue.radiusServerAddress = radiusServerAddress;
            _resultValue.radiusServerScore = radiusServerScore;
            _resultValue.radiusServerSecret = radiusServerSecret;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy