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

com.pulumi.azurenative.awsconnector.inputs.SnapStartResponseArgs 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.awsconnector.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;


/**
 * Definition of SnapStart
 * 
 */
public final class SnapStartResponseArgs extends com.pulumi.resources.ResourceArgs {

    public static final SnapStartResponseArgs Empty = new SnapStartResponseArgs();

    /**
     * Set ``ApplyOn`` to ``PublishedVersions`` to create a snapshot of the initialized execution environment when you publish a function version.
     * 
     */
    @Import(name="applyOn")
    private @Nullable Output applyOn;

    /**
     * @return Set ``ApplyOn`` to ``PublishedVersions`` to create a snapshot of the initialized execution environment when you publish a function version.
     * 
     */
    public Optional> applyOn() {
        return Optional.ofNullable(this.applyOn);
    }

    private SnapStartResponseArgs() {}

    private SnapStartResponseArgs(SnapStartResponseArgs $) {
        this.applyOn = $.applyOn;
    }

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

    public static final class Builder {
        private SnapStartResponseArgs $;

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

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

        /**
         * @param applyOn Set ``ApplyOn`` to ``PublishedVersions`` to create a snapshot of the initialized execution environment when you publish a function version.
         * 
         * @return builder
         * 
         */
        public Builder applyOn(@Nullable Output applyOn) {
            $.applyOn = applyOn;
            return this;
        }

        /**
         * @param applyOn Set ``ApplyOn`` to ``PublishedVersions`` to create a snapshot of the initialized execution environment when you publish a function version.
         * 
         * @return builder
         * 
         */
        public Builder applyOn(String applyOn) {
            return applyOn(Output.of(applyOn));
        }

        public SnapStartResponseArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy