@Generated(value="software.amazon.awssdk:codegen") public final class TrafficMirrorFilterRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrafficMirrorFilterRule.Builder,TrafficMirrorFilterRule>
Describes the Traffic Mirror rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TrafficMirrorFilterRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TrafficMirrorFilterRule.Builder |
builder() |
String |
description()
The description of the Traffic Mirror rule.
|
String |
destinationCidrBlock()
The destination CIDR block assigned to the Traffic Mirror rule.
|
TrafficMirrorPortRange |
destinationPortRange()
The destination port range assigned to the Traffic Mirror rule.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
protocol()
The protocol assigned to the Traffic Mirror rule.
|
TrafficMirrorRuleAction |
ruleAction()
The action assigned to the Traffic Mirror rule.
|
String |
ruleActionAsString()
The action assigned to the Traffic Mirror rule.
|
Integer |
ruleNumber()
The rule number of the Traffic Mirror rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrafficMirrorFilterRule.Builder> |
serializableBuilderClass() |
String |
sourceCidrBlock()
The source CIDR block assigned to the Traffic Mirror rule.
|
TrafficMirrorPortRange |
sourcePortRange()
The source port range assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TrafficDirection |
trafficDirection()
The traffic direction assigned to the Traffic Mirror rule.
|
String |
trafficDirectionAsString()
The traffic direction assigned to the Traffic Mirror rule.
|
String |
trafficMirrorFilterId()
The ID of the Traffic Mirror filter that the rule is associated with.
|
String |
trafficMirrorFilterRuleId()
The ID of the Traffic Mirror rule.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String trafficMirrorFilterRuleId()
The ID of the Traffic Mirror rule.
public final String trafficMirrorFilterId()
The ID of the Traffic Mirror filter that the rule is associated with.
public final TrafficDirection trafficDirection()
The traffic direction assigned to the Traffic Mirror rule.
If the service returns an enum value that is not available in the current SDK version, trafficDirection
will return TrafficDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from trafficDirectionAsString().
TrafficDirectionpublic final String trafficDirectionAsString()
The traffic direction assigned to the Traffic Mirror rule.
If the service returns an enum value that is not available in the current SDK version, trafficDirection
will return TrafficDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from trafficDirectionAsString().
TrafficDirectionpublic final Integer ruleNumber()
The rule number of the Traffic Mirror rule.
public final TrafficMirrorRuleAction ruleAction()
The action assigned to the Traffic Mirror rule.
If the service returns an enum value that is not available in the current SDK version, ruleAction will
return TrafficMirrorRuleAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ruleActionAsString().
TrafficMirrorRuleActionpublic final String ruleActionAsString()
The action assigned to the Traffic Mirror rule.
If the service returns an enum value that is not available in the current SDK version, ruleAction will
return TrafficMirrorRuleAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ruleActionAsString().
TrafficMirrorRuleActionpublic final Integer protocol()
The protocol assigned to the Traffic Mirror rule.
public final TrafficMirrorPortRange destinationPortRange()
The destination port range assigned to the Traffic Mirror rule.
public final TrafficMirrorPortRange sourcePortRange()
The source port range assigned to the Traffic Mirror rule.
public final String destinationCidrBlock()
The destination CIDR block assigned to the Traffic Mirror rule.
public final String sourceCidrBlock()
The source CIDR block assigned to the Traffic Mirror rule.
public final String description()
The description of the Traffic Mirror rule.
public TrafficMirrorFilterRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TrafficMirrorFilterRule.Builder,TrafficMirrorFilterRule>public static TrafficMirrorFilterRule.Builder builder()
public static Class<? extends TrafficMirrorFilterRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.