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

com.pulumi.azurenative.hybridcompute.inputs.ServiceStatusArgs 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.hybridcompute.inputs;

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


/**
 * Describes the status and behavior of a service.
 * 
 */
public final class ServiceStatusArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServiceStatusArgs Empty = new ServiceStatusArgs();

    /**
     * The behavior of the service when the Arc-enabled machine starts up.
     * 
     */
    @Import(name="startupType")
    private @Nullable Output startupType;

    /**
     * @return The behavior of the service when the Arc-enabled machine starts up.
     * 
     */
    public Optional> startupType() {
        return Optional.ofNullable(this.startupType);
    }

    /**
     * The current status of the service.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The current status of the service.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private ServiceStatusArgs() {}

    private ServiceStatusArgs(ServiceStatusArgs $) {
        this.startupType = $.startupType;
        this.status = $.status;
    }

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

    public static final class Builder {
        private ServiceStatusArgs $;

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

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

        /**
         * @param startupType The behavior of the service when the Arc-enabled machine starts up.
         * 
         * @return builder
         * 
         */
        public Builder startupType(@Nullable Output startupType) {
            $.startupType = startupType;
            return this;
        }

        /**
         * @param startupType The behavior of the service when the Arc-enabled machine starts up.
         * 
         * @return builder
         * 
         */
        public Builder startupType(String startupType) {
            return startupType(Output.of(startupType));
        }

        /**
         * @param status The current status of the service.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The current status of the service.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public ServiceStatusArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy