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

com.pulumi.akamai.inputs.CloudletsApplicationLoadBalancerState Maven / Gradle / Ivy

The 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.akamai.inputs;

import com.pulumi.akamai.inputs.CloudletsApplicationLoadBalancerDataCenterArgs;
import com.pulumi.akamai.inputs.CloudletsApplicationLoadBalancerLivenessSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class CloudletsApplicationLoadBalancerState extends com.pulumi.resources.ResourceArgs {

    public static final CloudletsApplicationLoadBalancerState Empty = new CloudletsApplicationLoadBalancerState();

    /**
     * The type of load balancing being performed. Options include WEIGHTED and PERFORMANCE
     * 
     */
    @Import(name="balancingType")
    private @Nullable Output balancingType;

    /**
     * @return The type of load balancing being performed. Options include WEIGHTED and PERFORMANCE
     * 
     */
    public Optional> balancingType() {
        return Optional.ofNullable(this.balancingType);
    }

    /**
     * The object containing information on conditional origins being used as data centers for an Application Load Balancer
     * implementation. Only Conditional Origins with an originType of CUSTOMER or NETSTORAGE can be used as data centers in an
     * application load balancer configuration.
     * 
     */
    @Import(name="dataCenters")
    private @Nullable Output> dataCenters;

    /**
     * @return The object containing information on conditional origins being used as data centers for an Application Load Balancer
     * implementation. Only Conditional Origins with an originType of CUSTOMER or NETSTORAGE can be used as data centers in an
     * application load balancer configuration.
     * 
     */
    public Optional>> dataCenters() {
        return Optional.ofNullable(this.dataCenters);
    }

    /**
     * The load balancer configuration version description
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The load balancer configuration version description
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    @Import(name="livenessSettings")
    private @Nullable Output livenessSettings;

    public Optional> livenessSettings() {
        return Optional.ofNullable(this.livenessSettings);
    }

    /**
     * The load balancer configuration description
     * 
     */
    @Import(name="originDescription")
    private @Nullable Output originDescription;

    /**
     * @return The load balancer configuration description
     * 
     */
    public Optional> originDescription() {
        return Optional.ofNullable(this.originDescription);
    }

    /**
     * The conditional origin's unique identifier
     * 
     */
    @Import(name="originId")
    private @Nullable Output originId;

    /**
     * @return The conditional origin's unique identifier
     * 
     */
    public Optional> originId() {
        return Optional.ofNullable(this.originId);
    }

    /**
     * The load balancer configuration version
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The load balancer configuration version
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    /**
     * Describes warnings during activation of load balancer configuration
     * 
     */
    @Import(name="warnings")
    private @Nullable Output warnings;

    /**
     * @return Describes warnings during activation of load balancer configuration
     * 
     */
    public Optional> warnings() {
        return Optional.ofNullable(this.warnings);
    }

    private CloudletsApplicationLoadBalancerState() {}

    private CloudletsApplicationLoadBalancerState(CloudletsApplicationLoadBalancerState $) {
        this.balancingType = $.balancingType;
        this.dataCenters = $.dataCenters;
        this.description = $.description;
        this.livenessSettings = $.livenessSettings;
        this.originDescription = $.originDescription;
        this.originId = $.originId;
        this.version = $.version;
        this.warnings = $.warnings;
    }

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

    public static final class Builder {
        private CloudletsApplicationLoadBalancerState $;

        public Builder() {
            $ = new CloudletsApplicationLoadBalancerState();
        }

        public Builder(CloudletsApplicationLoadBalancerState defaults) {
            $ = new CloudletsApplicationLoadBalancerState(Objects.requireNonNull(defaults));
        }

        /**
         * @param balancingType The type of load balancing being performed. Options include WEIGHTED and PERFORMANCE
         * 
         * @return builder
         * 
         */
        public Builder balancingType(@Nullable Output balancingType) {
            $.balancingType = balancingType;
            return this;
        }

        /**
         * @param balancingType The type of load balancing being performed. Options include WEIGHTED and PERFORMANCE
         * 
         * @return builder
         * 
         */
        public Builder balancingType(String balancingType) {
            return balancingType(Output.of(balancingType));
        }

        /**
         * @param dataCenters The object containing information on conditional origins being used as data centers for an Application Load Balancer
         * implementation. Only Conditional Origins with an originType of CUSTOMER or NETSTORAGE can be used as data centers in an
         * application load balancer configuration.
         * 
         * @return builder
         * 
         */
        public Builder dataCenters(@Nullable Output> dataCenters) {
            $.dataCenters = dataCenters;
            return this;
        }

        /**
         * @param dataCenters The object containing information on conditional origins being used as data centers for an Application Load Balancer
         * implementation. Only Conditional Origins with an originType of CUSTOMER or NETSTORAGE can be used as data centers in an
         * application load balancer configuration.
         * 
         * @return builder
         * 
         */
        public Builder dataCenters(List dataCenters) {
            return dataCenters(Output.of(dataCenters));
        }

        /**
         * @param dataCenters The object containing information on conditional origins being used as data centers for an Application Load Balancer
         * implementation. Only Conditional Origins with an originType of CUSTOMER or NETSTORAGE can be used as data centers in an
         * application load balancer configuration.
         * 
         * @return builder
         * 
         */
        public Builder dataCenters(CloudletsApplicationLoadBalancerDataCenterArgs... dataCenters) {
            return dataCenters(List.of(dataCenters));
        }

        /**
         * @param description The load balancer configuration version description
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The load balancer configuration version description
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        public Builder livenessSettings(@Nullable Output livenessSettings) {
            $.livenessSettings = livenessSettings;
            return this;
        }

        public Builder livenessSettings(CloudletsApplicationLoadBalancerLivenessSettingsArgs livenessSettings) {
            return livenessSettings(Output.of(livenessSettings));
        }

        /**
         * @param originDescription The load balancer configuration description
         * 
         * @return builder
         * 
         */
        public Builder originDescription(@Nullable Output originDescription) {
            $.originDescription = originDescription;
            return this;
        }

        /**
         * @param originDescription The load balancer configuration description
         * 
         * @return builder
         * 
         */
        public Builder originDescription(String originDescription) {
            return originDescription(Output.of(originDescription));
        }

        /**
         * @param originId The conditional origin's unique identifier
         * 
         * @return builder
         * 
         */
        public Builder originId(@Nullable Output originId) {
            $.originId = originId;
            return this;
        }

        /**
         * @param originId The conditional origin's unique identifier
         * 
         * @return builder
         * 
         */
        public Builder originId(String originId) {
            return originId(Output.of(originId));
        }

        /**
         * @param version The load balancer configuration version
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The load balancer configuration version
         * 
         * @return builder
         * 
         */
        public Builder version(Integer version) {
            return version(Output.of(version));
        }

        /**
         * @param warnings Describes warnings during activation of load balancer configuration
         * 
         * @return builder
         * 
         */
        public Builder warnings(@Nullable Output warnings) {
            $.warnings = warnings;
            return this;
        }

        /**
         * @param warnings Describes warnings during activation of load balancer configuration
         * 
         * @return builder
         * 
         */
        public Builder warnings(String warnings) {
            return warnings(Output.of(warnings));
        }

        public CloudletsApplicationLoadBalancerState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy