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

com.pulumi.aws.elasticsearch.inputs.DomainSnapshotOptionsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.elasticsearch.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;


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

    public static final DomainSnapshotOptionsArgs Empty = new DomainSnapshotOptionsArgs();

    /**
     * Hour during which the service takes an automated daily snapshot of the indices in the domain.
     * 
     */
    @Import(name="automatedSnapshotStartHour", required=true)
    private Output automatedSnapshotStartHour;

    /**
     * @return Hour during which the service takes an automated daily snapshot of the indices in the domain.
     * 
     */
    public Output automatedSnapshotStartHour() {
        return this.automatedSnapshotStartHour;
    }

    private DomainSnapshotOptionsArgs() {}

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

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

    public static final class Builder {
        private DomainSnapshotOptionsArgs $;

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

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

        /**
         * @param automatedSnapshotStartHour Hour during which the service takes an automated daily snapshot of the indices in the domain.
         * 
         * @return builder
         * 
         */
        public Builder automatedSnapshotStartHour(Output automatedSnapshotStartHour) {
            $.automatedSnapshotStartHour = automatedSnapshotStartHour;
            return this;
        }

        /**
         * @param automatedSnapshotStartHour Hour during which the service takes an automated daily snapshot of the indices in the domain.
         * 
         * @return builder
         * 
         */
        public Builder automatedSnapshotStartHour(Integer automatedSnapshotStartHour) {
            return automatedSnapshotStartHour(Output.of(automatedSnapshotStartHour));
        }

        public DomainSnapshotOptionsArgs build() {
            if ($.automatedSnapshotStartHour == null) {
                throw new MissingRequiredPropertyException("DomainSnapshotOptionsArgs", "automatedSnapshotStartHour");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy