@Generated(value="software.amazon.awssdk:codegen") public final class ActionDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActionDefinition.Builder,ActionDefinition>
A custom action to use in stateless rule actions settings. This is used in CustomAction.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ActionDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ActionDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PublishMetricAction |
publishMetricAction()
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ActionDefinition.Builder> |
serializableBuilderClass() |
ActionDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PublishMetricAction publishMetricAction()
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.
You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.
You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.
public ActionDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ActionDefinition.Builder,ActionDefinition>public static ActionDefinition.Builder builder()
public static Class<? extends ActionDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.