com.pulumi.meraki.organizations.outputs.ApplianceSecurityIntrusionAllowedRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.meraki.organizations.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 ApplianceSecurityIntrusionAllowedRule {
/**
* @return Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
*
*/
private @Nullable String message;
/**
* @return A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
*
*/
private @Nullable String ruleId;
private ApplianceSecurityIntrusionAllowedRule() {}
/**
* @return Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
*
*/
public Optional message() {
return Optional.ofNullable(this.message);
}
/**
* @return A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
*
*/
public Optional ruleId() {
return Optional.ofNullable(this.ruleId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplianceSecurityIntrusionAllowedRule defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String message;
private @Nullable String ruleId;
public Builder() {}
public Builder(ApplianceSecurityIntrusionAllowedRule defaults) {
Objects.requireNonNull(defaults);
this.message = defaults.message;
this.ruleId = defaults.ruleId;
}
@CustomType.Setter
public Builder message(@Nullable String message) {
this.message = message;
return this;
}
@CustomType.Setter
public Builder ruleId(@Nullable String ruleId) {
this.ruleId = ruleId;
return this;
}
public ApplianceSecurityIntrusionAllowedRule build() {
final var _resultValue = new ApplianceSecurityIntrusionAllowedRule();
_resultValue.message = message;
_resultValue.ruleId = ruleId;
return _resultValue;
}
}
}