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

com.pulumi.aws.elasticsearch.outputs.DomainSnapshotOptions 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.66.3
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.outputs;

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

@CustomType
public final class DomainSnapshotOptions {
    /**
     * @return Hour during which the service takes an automated daily snapshot of the indices in the domain.
     * 
     */
    private Integer automatedSnapshotStartHour;

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

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

    public static Builder builder(DomainSnapshotOptions defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer automatedSnapshotStartHour;
        public Builder() {}
        public Builder(DomainSnapshotOptions defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.automatedSnapshotStartHour = defaults.automatedSnapshotStartHour;
        }

        @CustomType.Setter
        public Builder automatedSnapshotStartHour(Integer automatedSnapshotStartHour) {
            if (automatedSnapshotStartHour == null) {
              throw new MissingRequiredPropertyException("DomainSnapshotOptions", "automatedSnapshotStartHour");
            }
            this.automatedSnapshotStartHour = automatedSnapshotStartHour;
            return this;
        }
        public DomainSnapshotOptions build() {
            final var _resultValue = new DomainSnapshotOptions();
            _resultValue.automatedSnapshotStartHour = automatedSnapshotStartHour;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy