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

com.pulumi.azurenative.awsconnector.inputs.SnapshotOptionsArgs Maven / Gradle / Ivy

// *** 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.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of SnapshotOptions
 * 
 */
public final class SnapshotOptionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SnapshotOptionsArgs Empty = new SnapshotOptionsArgs();

    /**
     * <p>The time, in UTC format, when OpenSearch Service takes a daily automated snapshot of the specified domain. Default is <code>0</code> hours.</p>
     * 
     */
    @Import(name="automatedSnapshotStartHour")
    private @Nullable Output automatedSnapshotStartHour;

    /**
     * @return <p>The time, in UTC format, when OpenSearch Service takes a daily automated snapshot of the specified domain. Default is <code>0</code> hours.</p>
     * 
     */
    public Optional> automatedSnapshotStartHour() {
        return Optional.ofNullable(this.automatedSnapshotStartHour);
    }

    private SnapshotOptionsArgs() {}

    private SnapshotOptionsArgs(SnapshotOptionsArgs $) {
        this.automatedSnapshotStartHour = $.automatedSnapshotStartHour;
    }

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

    public static final class Builder {
        private SnapshotOptionsArgs $;

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

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

        /**
         * @param automatedSnapshotStartHour <p>The time, in UTC format, when OpenSearch Service takes a daily automated snapshot of the specified domain. Default is <code>0</code> hours.</p>
         * 
         * @return builder
         * 
         */
        public Builder automatedSnapshotStartHour(@Nullable Output automatedSnapshotStartHour) {
            $.automatedSnapshotStartHour = automatedSnapshotStartHour;
            return this;
        }

        /**
         * @param automatedSnapshotStartHour <p>The time, in UTC format, when OpenSearch Service takes a daily automated snapshot of the specified domain. Default is <code>0</code> hours.</p>
         * 
         * @return builder
         * 
         */
        public Builder automatedSnapshotStartHour(Integer automatedSnapshotStartHour) {
            return automatedSnapshotStartHour(Output.of(automatedSnapshotStartHour));
        }

        public SnapshotOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy