@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 String trafficMirrorFilterRuleId()
The ID of the Traffic Mirror rule.
public String trafficMirrorFilterId()
The ID of the Traffic Mirror filter that the rule is associated with.
public 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 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 Integer ruleNumber()
The rule number of the Traffic Mirror rule.
public 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 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 Integer protocol()
The protocol assigned to the Traffic Mirror rule.
public TrafficMirrorPortRange destinationPortRange()
The destination port range assigned to the Traffic Mirror rule.
public TrafficMirrorPortRange sourcePortRange()
The source port range assigned to the Traffic Mirror rule.
public String destinationCidrBlock()
The destination CIDR block assigned to the Traffic Mirror rule.
public String sourceCidrBlock()
The source CIDR block assigned to the Traffic Mirror rule.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.