
com.pulumi.junipermist.device.outputs.SwitchSnmpConfigV3ConfigNotify 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.junipermist.device.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SwitchSnmpConfigV3ConfigNotify {
private @Nullable String name;
private @Nullable String tag;
/**
* @return enum: `inform`, `trap`
*
*/
private @Nullable String type;
private SwitchSnmpConfigV3ConfigNotify() {}
public Optional name() {
return Optional.ofNullable(this.name);
}
public Optional tag() {
return Optional.ofNullable(this.tag);
}
/**
* @return enum: `inform`, `trap`
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SwitchSnmpConfigV3ConfigNotify defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable String tag;
private @Nullable String type;
public Builder() {}
public Builder(SwitchSnmpConfigV3ConfigNotify defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.tag = defaults.tag;
this.type = defaults.type;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder tag(@Nullable String tag) {
this.tag = tag;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public SwitchSnmpConfigV3ConfigNotify build() {
final var _resultValue = new SwitchSnmpConfigV3ConfigNotify();
_resultValue.name = name;
_resultValue.tag = tag;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy