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

com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerState Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Dedicated.inputs;

import com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerDetailsArgs;
import com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerIamArgs;
import com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerOrderArgs;
import com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerPlanArgs;
import com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerPlanOptionArgs;
import com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerUserMetadataArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ServerState Empty = new ServerState();

    /**
     * Dedicated AZ localisation
     * 
     */
    @Import(name="availabilityZone")
    private @Nullable Output availabilityZone;

    /**
     * @return Dedicated AZ localisation
     * 
     */
    public Optional> availabilityZone() {
        return Optional.ofNullable(this.availabilityZone);
    }

    /**
     * Boot id of the server
     * 
     */
    @Import(name="bootId")
    private @Nullable Output bootId;

    /**
     * @return Boot id of the server
     * 
     */
    public Optional> bootId() {
        return Optional.ofNullable(this.bootId);
    }

    /**
     * Boot script of the server
     * 
     */
    @Import(name="bootScript")
    private @Nullable Output bootScript;

    /**
     * @return Boot script of the server
     * 
     */
    public Optional> bootScript() {
        return Optional.ofNullable(this.bootScript);
    }

    /**
     * Dedicated server commercial range
     * 
     */
    @Import(name="commercialRange")
    private @Nullable Output commercialRange;

    /**
     * @return Dedicated server commercial range
     * 
     */
    public Optional> commercialRange() {
        return Optional.ofNullable(this.commercialRange);
    }

    /**
     * Dedicated datacenter localisation (bhs1,bhs2,...)
     * 
     */
    @Import(name="datacenter")
    private @Nullable Output datacenter;

    /**
     * @return Dedicated datacenter localisation (bhs1,bhs2,...)
     * 
     */
    public Optional> datacenter() {
        return Optional.ofNullable(this.datacenter);
    }

    /**
     * A structure describing informations about installation custom
     * 
     */
    @Import(name="details")
    private @Nullable Output details;

    /**
     * @return A structure describing informations about installation custom
     * 
     */
    public Optional> details() {
        return Optional.ofNullable(this.details);
    }

    /**
     * Resource display name
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Resource display name
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * IAM resource information
     * 
     */
    @Import(name="iam")
    private @Nullable Output iam;

    /**
     * @return IAM resource information
     * 
     */
    public Optional> iam() {
        return Optional.ofNullable(this.iam);
    }

    /**
     * Dedicated server ip (IPv4)
     * 
     */
    @Import(name="ip")
    private @Nullable Output ip;

    /**
     * @return Dedicated server ip (IPv4)
     * 
     */
    public Optional> ip() {
        return Optional.ofNullable(this.ip);
    }

    /**
     * Link speed of the server
     * 
     */
    @Import(name="linkSpeed")
    private @Nullable Output linkSpeed;

    /**
     * @return Link speed of the server
     * 
     */
    public Optional> linkSpeed() {
        return Optional.ofNullable(this.linkSpeed);
    }

    /**
     * Icmp monitoring state
     * 
     */
    @Import(name="monitoring")
    private @Nullable Output monitoring;

    /**
     * @return Icmp monitoring state
     * 
     */
    public Optional> monitoring() {
        return Optional.ofNullable(this.monitoring);
    }

    /**
     * Dedicated server name
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Dedicated server name
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

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

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

    /**
     * Prevent datacenter intervention
     * 
     */
    @Import(name="noIntervention")
    private @Nullable Output noIntervention;

    /**
     * @return Prevent datacenter intervention
     * 
     */
    public Optional> noIntervention() {
        return Optional.ofNullable(this.noIntervention);
    }

    /**
     * Details about an Order
     * 
     */
    @Import(name="order")
    private @Nullable Output order;

    /**
     * @return Details about an Order
     * 
     */
    public Optional> order() {
        return Optional.ofNullable(this.order);
    }

    /**
     * Operating system
     * 
     */
    @Import(name="os")
    private @Nullable Output os;

    /**
     * @return Operating system
     * 
     */
    public Optional> os() {
        return Optional.ofNullable(this.os);
    }

    /**
     * OVH subsidiaries
     * 
     */
    @Import(name="ovhSubsidiary")
    private @Nullable Output ovhSubsidiary;

    /**
     * @return OVH subsidiaries
     * 
     */
    public Optional> ovhSubsidiary() {
        return Optional.ofNullable(this.ovhSubsidiary);
    }

    /**
     * Partition scheme name
     * 
     */
    @Import(name="partitionSchemeName")
    private @Nullable Output partitionSchemeName;

    /**
     * @return Partition scheme name
     * 
     */
    public Optional> partitionSchemeName() {
        return Optional.ofNullable(this.partitionSchemeName);
    }

    @Import(name="planOptions")
    private @Nullable Output> planOptions;

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

    @Import(name="plans")
    private @Nullable Output> plans;

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

    /**
     * Power state of the server (poweron, poweroff)
     * 
     */
    @Import(name="powerState")
    private @Nullable Output powerState;

    /**
     * @return Power state of the server (poweron, poweroff)
     * 
     */
    public Optional> powerState() {
        return Optional.ofNullable(this.powerState);
    }

    /**
     * Does this server have professional use option
     * 
     */
    @Import(name="professionalUse")
    private @Nullable Output professionalUse;

    /**
     * @return Does this server have professional use option
     * 
     */
    public Optional> professionalUse() {
        return Optional.ofNullable(this.professionalUse);
    }

    /**
     * Rack id of the server
     * 
     */
    @Import(name="rack")
    private @Nullable Output rack;

    /**
     * @return Rack id of the server
     * 
     */
    public Optional> rack() {
        return Optional.ofNullable(this.rack);
    }

    /**
     * Dedicated region localisation
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return Dedicated region localisation
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    /**
     * Rescue mail of the server
     * 
     */
    @Import(name="rescueMail")
    private @Nullable Output rescueMail;

    /**
     * @return Rescue mail of the server
     * 
     */
    public Optional> rescueMail() {
        return Optional.ofNullable(this.rescueMail);
    }

    /**
     * Public SSH Key used in the rescue mode
     * 
     */
    @Import(name="rescueSshKey")
    private @Nullable Output rescueSshKey;

    /**
     * @return Public SSH Key used in the rescue mode
     * 
     */
    public Optional> rescueSshKey() {
        return Optional.ofNullable(this.rescueSshKey);
    }

    /**
     * Dedicated server reverse
     * 
     */
    @Import(name="reverse")
    private @Nullable Output reverse;

    /**
     * @return Dedicated server reverse
     * 
     */
    public Optional> reverse() {
        return Optional.ofNullable(this.reverse);
    }

    /**
     * Root device of the server
     * 
     */
    @Import(name="rootDevice")
    private @Nullable Output rootDevice;

    /**
     * @return Root device of the server
     * 
     */
    public Optional> rootDevice() {
        return Optional.ofNullable(this.rootDevice);
    }

    /**
     * Server id
     * 
     */
    @Import(name="serverId")
    private @Nullable Output serverId;

    /**
     * @return Server id
     * 
     */
    public Optional> serverId() {
        return Optional.ofNullable(this.serverId);
    }

    /**
     * The service_name of your dedicated server
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return The service_name of your dedicated server
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    /**
     * All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
     * 
     */
    @Import(name="state")
    private @Nullable Output state;

    /**
     * @return All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
     * 
     */
    public Optional> state() {
        return Optional.ofNullable(this.state);
    }

    /**
     * Dedicated server support level (critical, fastpath, gs, pro)
     * 
     */
    @Import(name="supportLevel")
    private @Nullable Output supportLevel;

    /**
     * @return Dedicated server support level (critical, fastpath, gs, pro)
     * 
     */
    public Optional> supportLevel() {
        return Optional.ofNullable(this.supportLevel);
    }

    /**
     * Template name
     * 
     */
    @Import(name="templateName")
    private @Nullable Output templateName;

    /**
     * @return Template name
     * 
     */
    public Optional> templateName() {
        return Optional.ofNullable(this.templateName);
    }

    /**
     * Metadata
     * 
     */
    @Import(name="userMetadatas")
    private @Nullable Output> userMetadatas;

    /**
     * @return Metadata
     * 
     */
    public Optional>> userMetadatas() {
        return Optional.ofNullable(this.userMetadatas);
    }

    private ServerState() {}

    private ServerState(ServerState $) {
        this.availabilityZone = $.availabilityZone;
        this.bootId = $.bootId;
        this.bootScript = $.bootScript;
        this.commercialRange = $.commercialRange;
        this.datacenter = $.datacenter;
        this.details = $.details;
        this.displayName = $.displayName;
        this.iam = $.iam;
        this.ip = $.ip;
        this.linkSpeed = $.linkSpeed;
        this.monitoring = $.monitoring;
        this.name = $.name;
        this.newUpgradeSystem = $.newUpgradeSystem;
        this.noIntervention = $.noIntervention;
        this.order = $.order;
        this.os = $.os;
        this.ovhSubsidiary = $.ovhSubsidiary;
        this.partitionSchemeName = $.partitionSchemeName;
        this.planOptions = $.planOptions;
        this.plans = $.plans;
        this.powerState = $.powerState;
        this.professionalUse = $.professionalUse;
        this.rack = $.rack;
        this.region = $.region;
        this.rescueMail = $.rescueMail;
        this.rescueSshKey = $.rescueSshKey;
        this.reverse = $.reverse;
        this.rootDevice = $.rootDevice;
        this.serverId = $.serverId;
        this.serviceName = $.serviceName;
        this.state = $.state;
        this.supportLevel = $.supportLevel;
        this.templateName = $.templateName;
        this.userMetadatas = $.userMetadatas;
    }

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

    public static final class Builder {
        private ServerState $;

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

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

        /**
         * @param availabilityZone Dedicated AZ localisation
         * 
         * @return builder
         * 
         */
        public Builder availabilityZone(@Nullable Output availabilityZone) {
            $.availabilityZone = availabilityZone;
            return this;
        }

        /**
         * @param availabilityZone Dedicated AZ localisation
         * 
         * @return builder
         * 
         */
        public Builder availabilityZone(String availabilityZone) {
            return availabilityZone(Output.of(availabilityZone));
        }

        /**
         * @param bootId Boot id of the server
         * 
         * @return builder
         * 
         */
        public Builder bootId(@Nullable Output bootId) {
            $.bootId = bootId;
            return this;
        }

        /**
         * @param bootId Boot id of the server
         * 
         * @return builder
         * 
         */
        public Builder bootId(Double bootId) {
            return bootId(Output.of(bootId));
        }

        /**
         * @param bootScript Boot script of the server
         * 
         * @return builder
         * 
         */
        public Builder bootScript(@Nullable Output bootScript) {
            $.bootScript = bootScript;
            return this;
        }

        /**
         * @param bootScript Boot script of the server
         * 
         * @return builder
         * 
         */
        public Builder bootScript(String bootScript) {
            return bootScript(Output.of(bootScript));
        }

        /**
         * @param commercialRange Dedicated server commercial range
         * 
         * @return builder
         * 
         */
        public Builder commercialRange(@Nullable Output commercialRange) {
            $.commercialRange = commercialRange;
            return this;
        }

        /**
         * @param commercialRange Dedicated server commercial range
         * 
         * @return builder
         * 
         */
        public Builder commercialRange(String commercialRange) {
            return commercialRange(Output.of(commercialRange));
        }

        /**
         * @param datacenter Dedicated datacenter localisation (bhs1,bhs2,...)
         * 
         * @return builder
         * 
         */
        public Builder datacenter(@Nullable Output datacenter) {
            $.datacenter = datacenter;
            return this;
        }

        /**
         * @param datacenter Dedicated datacenter localisation (bhs1,bhs2,...)
         * 
         * @return builder
         * 
         */
        public Builder datacenter(String datacenter) {
            return datacenter(Output.of(datacenter));
        }

        /**
         * @param details A structure describing informations about installation custom
         * 
         * @return builder
         * 
         */
        public Builder details(@Nullable Output details) {
            $.details = details;
            return this;
        }

        /**
         * @param details A structure describing informations about installation custom
         * 
         * @return builder
         * 
         */
        public Builder details(ServerDetailsArgs details) {
            return details(Output.of(details));
        }

        /**
         * @param displayName Resource display name
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Resource display name
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param iam IAM resource information
         * 
         * @return builder
         * 
         */
        public Builder iam(@Nullable Output iam) {
            $.iam = iam;
            return this;
        }

        /**
         * @param iam IAM resource information
         * 
         * @return builder
         * 
         */
        public Builder iam(ServerIamArgs iam) {
            return iam(Output.of(iam));
        }

        /**
         * @param ip Dedicated server ip (IPv4)
         * 
         * @return builder
         * 
         */
        public Builder ip(@Nullable Output ip) {
            $.ip = ip;
            return this;
        }

        /**
         * @param ip Dedicated server ip (IPv4)
         * 
         * @return builder
         * 
         */
        public Builder ip(String ip) {
            return ip(Output.of(ip));
        }

        /**
         * @param linkSpeed Link speed of the server
         * 
         * @return builder
         * 
         */
        public Builder linkSpeed(@Nullable Output linkSpeed) {
            $.linkSpeed = linkSpeed;
            return this;
        }

        /**
         * @param linkSpeed Link speed of the server
         * 
         * @return builder
         * 
         */
        public Builder linkSpeed(Double linkSpeed) {
            return linkSpeed(Output.of(linkSpeed));
        }

        /**
         * @param monitoring Icmp monitoring state
         * 
         * @return builder
         * 
         */
        public Builder monitoring(@Nullable Output monitoring) {
            $.monitoring = monitoring;
            return this;
        }

        /**
         * @param monitoring Icmp monitoring state
         * 
         * @return builder
         * 
         */
        public Builder monitoring(Boolean monitoring) {
            return monitoring(Output.of(monitoring));
        }

        /**
         * @param name Dedicated server name
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Dedicated server name
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

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

        public Builder newUpgradeSystem(Boolean newUpgradeSystem) {
            return newUpgradeSystem(Output.of(newUpgradeSystem));
        }

        /**
         * @param noIntervention Prevent datacenter intervention
         * 
         * @return builder
         * 
         */
        public Builder noIntervention(@Nullable Output noIntervention) {
            $.noIntervention = noIntervention;
            return this;
        }

        /**
         * @param noIntervention Prevent datacenter intervention
         * 
         * @return builder
         * 
         */
        public Builder noIntervention(Boolean noIntervention) {
            return noIntervention(Output.of(noIntervention));
        }

        /**
         * @param order Details about an Order
         * 
         * @return builder
         * 
         */
        public Builder order(@Nullable Output order) {
            $.order = order;
            return this;
        }

        /**
         * @param order Details about an Order
         * 
         * @return builder
         * 
         */
        public Builder order(ServerOrderArgs order) {
            return order(Output.of(order));
        }

        /**
         * @param os Operating system
         * 
         * @return builder
         * 
         */
        public Builder os(@Nullable Output os) {
            $.os = os;
            return this;
        }

        /**
         * @param os Operating system
         * 
         * @return builder
         * 
         */
        public Builder os(String os) {
            return os(Output.of(os));
        }

        /**
         * @param ovhSubsidiary OVH subsidiaries
         * 
         * @return builder
         * 
         */
        public Builder ovhSubsidiary(@Nullable Output ovhSubsidiary) {
            $.ovhSubsidiary = ovhSubsidiary;
            return this;
        }

        /**
         * @param ovhSubsidiary OVH subsidiaries
         * 
         * @return builder
         * 
         */
        public Builder ovhSubsidiary(String ovhSubsidiary) {
            return ovhSubsidiary(Output.of(ovhSubsidiary));
        }

        /**
         * @param partitionSchemeName Partition scheme name
         * 
         * @return builder
         * 
         */
        public Builder partitionSchemeName(@Nullable Output partitionSchemeName) {
            $.partitionSchemeName = partitionSchemeName;
            return this;
        }

        /**
         * @param partitionSchemeName Partition scheme name
         * 
         * @return builder
         * 
         */
        public Builder partitionSchemeName(String partitionSchemeName) {
            return partitionSchemeName(Output.of(partitionSchemeName));
        }

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

        public Builder planOptions(List planOptions) {
            return planOptions(Output.of(planOptions));
        }

        public Builder planOptions(ServerPlanOptionArgs... planOptions) {
            return planOptions(List.of(planOptions));
        }

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

        public Builder plans(List plans) {
            return plans(Output.of(plans));
        }

        public Builder plans(ServerPlanArgs... plans) {
            return plans(List.of(plans));
        }

        /**
         * @param powerState Power state of the server (poweron, poweroff)
         * 
         * @return builder
         * 
         */
        public Builder powerState(@Nullable Output powerState) {
            $.powerState = powerState;
            return this;
        }

        /**
         * @param powerState Power state of the server (poweron, poweroff)
         * 
         * @return builder
         * 
         */
        public Builder powerState(String powerState) {
            return powerState(Output.of(powerState));
        }

        /**
         * @param professionalUse Does this server have professional use option
         * 
         * @return builder
         * 
         */
        public Builder professionalUse(@Nullable Output professionalUse) {
            $.professionalUse = professionalUse;
            return this;
        }

        /**
         * @param professionalUse Does this server have professional use option
         * 
         * @return builder
         * 
         */
        public Builder professionalUse(Boolean professionalUse) {
            return professionalUse(Output.of(professionalUse));
        }

        /**
         * @param rack Rack id of the server
         * 
         * @return builder
         * 
         */
        public Builder rack(@Nullable Output rack) {
            $.rack = rack;
            return this;
        }

        /**
         * @param rack Rack id of the server
         * 
         * @return builder
         * 
         */
        public Builder rack(String rack) {
            return rack(Output.of(rack));
        }

        /**
         * @param region Dedicated region localisation
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Dedicated region localisation
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        /**
         * @param rescueMail Rescue mail of the server
         * 
         * @return builder
         * 
         */
        public Builder rescueMail(@Nullable Output rescueMail) {
            $.rescueMail = rescueMail;
            return this;
        }

        /**
         * @param rescueMail Rescue mail of the server
         * 
         * @return builder
         * 
         */
        public Builder rescueMail(String rescueMail) {
            return rescueMail(Output.of(rescueMail));
        }

        /**
         * @param rescueSshKey Public SSH Key used in the rescue mode
         * 
         * @return builder
         * 
         */
        public Builder rescueSshKey(@Nullable Output rescueSshKey) {
            $.rescueSshKey = rescueSshKey;
            return this;
        }

        /**
         * @param rescueSshKey Public SSH Key used in the rescue mode
         * 
         * @return builder
         * 
         */
        public Builder rescueSshKey(String rescueSshKey) {
            return rescueSshKey(Output.of(rescueSshKey));
        }

        /**
         * @param reverse Dedicated server reverse
         * 
         * @return builder
         * 
         */
        public Builder reverse(@Nullable Output reverse) {
            $.reverse = reverse;
            return this;
        }

        /**
         * @param reverse Dedicated server reverse
         * 
         * @return builder
         * 
         */
        public Builder reverse(String reverse) {
            return reverse(Output.of(reverse));
        }

        /**
         * @param rootDevice Root device of the server
         * 
         * @return builder
         * 
         */
        public Builder rootDevice(@Nullable Output rootDevice) {
            $.rootDevice = rootDevice;
            return this;
        }

        /**
         * @param rootDevice Root device of the server
         * 
         * @return builder
         * 
         */
        public Builder rootDevice(String rootDevice) {
            return rootDevice(Output.of(rootDevice));
        }

        /**
         * @param serverId Server id
         * 
         * @return builder
         * 
         */
        public Builder serverId(@Nullable Output serverId) {
            $.serverId = serverId;
            return this;
        }

        /**
         * @param serverId Server id
         * 
         * @return builder
         * 
         */
        public Builder serverId(Double serverId) {
            return serverId(Output.of(serverId));
        }

        /**
         * @param serviceName The service_name of your dedicated server
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The service_name of your dedicated server
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param state All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable Output state) {
            $.state = state;
            return this;
        }

        /**
         * @param state All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
         * 
         * @return builder
         * 
         */
        public Builder state(String state) {
            return state(Output.of(state));
        }

        /**
         * @param supportLevel Dedicated server support level (critical, fastpath, gs, pro)
         * 
         * @return builder
         * 
         */
        public Builder supportLevel(@Nullable Output supportLevel) {
            $.supportLevel = supportLevel;
            return this;
        }

        /**
         * @param supportLevel Dedicated server support level (critical, fastpath, gs, pro)
         * 
         * @return builder
         * 
         */
        public Builder supportLevel(String supportLevel) {
            return supportLevel(Output.of(supportLevel));
        }

        /**
         * @param templateName Template name
         * 
         * @return builder
         * 
         */
        public Builder templateName(@Nullable Output templateName) {
            $.templateName = templateName;
            return this;
        }

        /**
         * @param templateName Template name
         * 
         * @return builder
         * 
         */
        public Builder templateName(String templateName) {
            return templateName(Output.of(templateName));
        }

        /**
         * @param userMetadatas Metadata
         * 
         * @return builder
         * 
         */
        public Builder userMetadatas(@Nullable Output> userMetadatas) {
            $.userMetadatas = userMetadatas;
            return this;
        }

        /**
         * @param userMetadatas Metadata
         * 
         * @return builder
         * 
         */
        public Builder userMetadatas(List userMetadatas) {
            return userMetadatas(Output.of(userMetadatas));
        }

        /**
         * @param userMetadatas Metadata
         * 
         * @return builder
         * 
         */
        public Builder userMetadatas(ServerUserMetadataArgs... userMetadatas) {
            return userMetadatas(List.of(userMetadatas));
        }

        public ServerState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy