com.pulumi.ns1.outputs.NotifyListNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ns1 Show documentation
Show all versions of ns1 Show documentation
A Pulumi package for creating and managing ns1 cloud resources.
// *** 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.ns1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class NotifyListNotification {
/**
* @return Configuration details for the given notifier type.
*
*/
private Map config;
/**
* @return The type of notifier. Available notifiers are indicated in /notifytypes endpoint.
*
*/
private String type;
private NotifyListNotification() {}
/**
* @return Configuration details for the given notifier type.
*
*/
public Map config() {
return this.config;
}
/**
* @return The type of notifier. Available notifiers are indicated in /notifytypes endpoint.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NotifyListNotification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map config;
private String type;
public Builder() {}
public Builder(NotifyListNotification defaults) {
Objects.requireNonNull(defaults);
this.config = defaults.config;
this.type = defaults.type;
}
@CustomType.Setter
public Builder config(Map config) {
if (config == null) {
throw new MissingRequiredPropertyException("NotifyListNotification", "config");
}
this.config = config;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("NotifyListNotification", "type");
}
this.type = type;
return this;
}
public NotifyListNotification build() {
final var _resultValue = new NotifyListNotification();
_resultValue.config = config;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy