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

com.pulumi.aws.gamelift.inputs.FleetRuntimeConfigurationServerProcessArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

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.aws.gamelift.inputs;

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


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

    public static final FleetRuntimeConfigurationServerProcessArgs Empty = new FleetRuntimeConfigurationServerProcessArgs();

    /**
     * Number of server processes using this configuration to run concurrently on an instance.
     * 
     */
    @Import(name="concurrentExecutions", required=true)
    private Output concurrentExecutions;

    /**
     * @return Number of server processes using this configuration to run concurrently on an instance.
     * 
     */
    public Output concurrentExecutions() {
        return this.concurrentExecutions;
    }

    /**
     * Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances `C:\game`, and for Linux instances `/local/game`.
     * 
     */
    @Import(name="launchPath", required=true)
    private Output launchPath;

    /**
     * @return Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances `C:\game`, and for Linux instances `/local/game`.
     * 
     */
    public Output launchPath() {
        return this.launchPath;
    }

    /**
     * Optional list of parameters to pass to the server executable on launch.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output parameters;

    /**
     * @return Optional list of parameters to pass to the server executable on launch.
     * 
     */
    public Optional> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    private FleetRuntimeConfigurationServerProcessArgs() {}

    private FleetRuntimeConfigurationServerProcessArgs(FleetRuntimeConfigurationServerProcessArgs $) {
        this.concurrentExecutions = $.concurrentExecutions;
        this.launchPath = $.launchPath;
        this.parameters = $.parameters;
    }

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

    public static final class Builder {
        private FleetRuntimeConfigurationServerProcessArgs $;

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

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

        /**
         * @param concurrentExecutions Number of server processes using this configuration to run concurrently on an instance.
         * 
         * @return builder
         * 
         */
        public Builder concurrentExecutions(Output concurrentExecutions) {
            $.concurrentExecutions = concurrentExecutions;
            return this;
        }

        /**
         * @param concurrentExecutions Number of server processes using this configuration to run concurrently on an instance.
         * 
         * @return builder
         * 
         */
        public Builder concurrentExecutions(Integer concurrentExecutions) {
            return concurrentExecutions(Output.of(concurrentExecutions));
        }

        /**
         * @param launchPath Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances `C:\game`, and for Linux instances `/local/game`.
         * 
         * @return builder
         * 
         */
        public Builder launchPath(Output launchPath) {
            $.launchPath = launchPath;
            return this;
        }

        /**
         * @param launchPath Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances `C:\game`, and for Linux instances `/local/game`.
         * 
         * @return builder
         * 
         */
        public Builder launchPath(String launchPath) {
            return launchPath(Output.of(launchPath));
        }

        /**
         * @param parameters Optional list of parameters to pass to the server executable on launch.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Optional list of parameters to pass to the server executable on launch.
         * 
         * @return builder
         * 
         */
        public Builder parameters(String parameters) {
            return parameters(Output.of(parameters));
        }

        public FleetRuntimeConfigurationServerProcessArgs build() {
            if ($.concurrentExecutions == null) {
                throw new MissingRequiredPropertyException("FleetRuntimeConfigurationServerProcessArgs", "concurrentExecutions");
            }
            if ($.launchPath == null) {
                throw new MissingRequiredPropertyException("FleetRuntimeConfigurationServerProcessArgs", "launchPath");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy