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

com.pulumi.spotinst.azure.inputs.OceanNpHealthArgs 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.spotinst.azure.inputs;

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


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

    public static final OceanNpHealthArgs Empty = new OceanNpHealthArgs();

    /**
     * The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
     * 
     */
    @Import(name="gracePeriod")
    private @Nullable Output gracePeriod;

    /**
     * @return The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
     * 
     */
    public Optional> gracePeriod() {
        return Optional.ofNullable(this.gracePeriod);
    }

    private OceanNpHealthArgs() {}

    private OceanNpHealthArgs(OceanNpHealthArgs $) {
        this.gracePeriod = $.gracePeriod;
    }

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

    public static final class Builder {
        private OceanNpHealthArgs $;

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

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

        /**
         * @param gracePeriod The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
         * 
         * @return builder
         * 
         */
        public Builder gracePeriod(@Nullable Output gracePeriod) {
            $.gracePeriod = gracePeriod;
            return this;
        }

        /**
         * @param gracePeriod The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
         * 
         * @return builder
         * 
         */
        public Builder gracePeriod(Integer gracePeriod) {
            return gracePeriod(Output.of(gracePeriod));
        }

        public OceanNpHealthArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy