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

com.pulumi.aws.glacier.outputs.VaultNotification 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.glacier.outputs;

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

@CustomType
public final class VaultNotification {
    /**
     * @return You can configure a vault to publish a notification for `ArchiveRetrievalCompleted` and `InventoryRetrievalCompleted` events.
     * 
     */
    private List events;
    /**
     * @return The SNS Topic ARN.
     * 
     */
    private String snsTopic;

    private VaultNotification() {}
    /**
     * @return You can configure a vault to publish a notification for `ArchiveRetrievalCompleted` and `InventoryRetrievalCompleted` events.
     * 
     */
    public List events() {
        return this.events;
    }
    /**
     * @return The SNS Topic ARN.
     * 
     */
    public String snsTopic() {
        return this.snsTopic;
    }

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

    public static Builder builder(VaultNotification defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List events;
        private String snsTopic;
        public Builder() {}
        public Builder(VaultNotification defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.events = defaults.events;
    	      this.snsTopic = defaults.snsTopic;
        }

        @CustomType.Setter
        public Builder events(List events) {
            if (events == null) {
              throw new MissingRequiredPropertyException("VaultNotification", "events");
            }
            this.events = events;
            return this;
        }
        public Builder events(String... events) {
            return events(List.of(events));
        }
        @CustomType.Setter
        public Builder snsTopic(String snsTopic) {
            if (snsTopic == null) {
              throw new MissingRequiredPropertyException("VaultNotification", "snsTopic");
            }
            this.snsTopic = snsTopic;
            return this;
        }
        public VaultNotification build() {
            final var _resultValue = new VaultNotification();
            _resultValue.events = events;
            _resultValue.snsTopic = snsTopic;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy