@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficMirrorFilterRule extends Object implements Serializable, Cloneable
Describes the Traffic Mirror rule.
Constructor and Description |
---|
TrafficMirrorFilterRule() |
Modifier and Type | Method and Description |
---|---|
TrafficMirrorFilterRule |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the Traffic Mirror rule.
|
String |
getDestinationCidrBlock()
The destination CIDR block assigned to the Traffic Mirror rule.
|
TrafficMirrorPortRange |
getDestinationPortRange()
The destination port range assigned to the Traffic Mirror rule.
|
Integer |
getProtocol()
The protocol assigned to the Traffic Mirror rule.
|
String |
getRuleAction()
The action assigned to the Traffic Mirror rule.
|
Integer |
getRuleNumber()
The rule number of the Traffic Mirror rule.
|
String |
getSourceCidrBlock()
The source CIDR block assigned to the Traffic Mirror rule.
|
TrafficMirrorPortRange |
getSourcePortRange()
The source port range assigned to the Traffic Mirror rule.
|
String |
getTrafficDirection()
The traffic direction assigned to the Traffic Mirror rule.
|
String |
getTrafficMirrorFilterId()
The ID of the Traffic Mirror filter that the rule is associated with.
|
String |
getTrafficMirrorFilterRuleId()
The ID of the Traffic Mirror rule.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the Traffic Mirror rule.
|
void |
setDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block assigned to the Traffic Mirror rule.
|
void |
setDestinationPortRange(TrafficMirrorPortRange destinationPortRange)
The destination port range assigned to the Traffic Mirror rule.
|
void |
setProtocol(Integer protocol)
The protocol assigned to the Traffic Mirror rule.
|
void |
setRuleAction(String ruleAction)
The action assigned to the Traffic Mirror rule.
|
void |
setRuleNumber(Integer ruleNumber)
The rule number of the Traffic Mirror rule.
|
void |
setSourceCidrBlock(String sourceCidrBlock)
The source CIDR block assigned to the Traffic Mirror rule.
|
void |
setSourcePortRange(TrafficMirrorPortRange sourcePortRange)
The source port range assigned to the Traffic Mirror rule.
|
void |
setTrafficDirection(String trafficDirection)
The traffic direction assigned to the Traffic Mirror rule.
|
void |
setTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter that the rule is associated with.
|
void |
setTrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
|
String |
toString()
Returns a string representation of this object.
|
TrafficMirrorFilterRule |
withDescription(String description)
The description of the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withDestinationPortRange(TrafficMirrorPortRange destinationPortRange)
The destination port range assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withProtocol(Integer protocol)
The protocol assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withRuleAction(String ruleAction)
The action assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withRuleAction(TrafficMirrorRuleAction ruleAction)
The action assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withRuleNumber(Integer ruleNumber)
The rule number of the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withSourceCidrBlock(String sourceCidrBlock)
The source CIDR block assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withSourcePortRange(TrafficMirrorPortRange sourcePortRange)
The source port range assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withTrafficDirection(String trafficDirection)
The traffic direction assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withTrafficDirection(TrafficDirection trafficDirection)
The traffic direction assigned to the Traffic Mirror rule.
|
TrafficMirrorFilterRule |
withTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter that the rule is associated with.
|
TrafficMirrorFilterRule |
withTrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
|
public void setTrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
trafficMirrorFilterRuleId
- The ID of the Traffic Mirror rule.public String getTrafficMirrorFilterRuleId()
The ID of the Traffic Mirror rule.
public TrafficMirrorFilterRule withTrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
trafficMirrorFilterRuleId
- The ID of the Traffic Mirror rule.public void setTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter that the rule is associated with.
trafficMirrorFilterId
- The ID of the Traffic Mirror filter that the rule is associated with.public String getTrafficMirrorFilterId()
The ID of the Traffic Mirror filter that the rule is associated with.
public TrafficMirrorFilterRule withTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter that the rule is associated with.
trafficMirrorFilterId
- The ID of the Traffic Mirror filter that the rule is associated with.public void setTrafficDirection(String trafficDirection)
The traffic direction assigned to the Traffic Mirror rule.
trafficDirection
- The traffic direction assigned to the Traffic Mirror rule.TrafficDirection
public String getTrafficDirection()
The traffic direction assigned to the Traffic Mirror rule.
TrafficDirection
public TrafficMirrorFilterRule withTrafficDirection(String trafficDirection)
The traffic direction assigned to the Traffic Mirror rule.
trafficDirection
- The traffic direction assigned to the Traffic Mirror rule.TrafficDirection
public TrafficMirrorFilterRule withTrafficDirection(TrafficDirection trafficDirection)
The traffic direction assigned to the Traffic Mirror rule.
trafficDirection
- The traffic direction assigned to the Traffic Mirror rule.TrafficDirection
public void setRuleNumber(Integer ruleNumber)
The rule number of the Traffic Mirror rule.
ruleNumber
- The rule number of the Traffic Mirror rule.public Integer getRuleNumber()
The rule number of the Traffic Mirror rule.
public TrafficMirrorFilterRule withRuleNumber(Integer ruleNumber)
The rule number of the Traffic Mirror rule.
ruleNumber
- The rule number of the Traffic Mirror rule.public void setRuleAction(String ruleAction)
The action assigned to the Traffic Mirror rule.
ruleAction
- The action assigned to the Traffic Mirror rule.TrafficMirrorRuleAction
public String getRuleAction()
The action assigned to the Traffic Mirror rule.
TrafficMirrorRuleAction
public TrafficMirrorFilterRule withRuleAction(String ruleAction)
The action assigned to the Traffic Mirror rule.
ruleAction
- The action assigned to the Traffic Mirror rule.TrafficMirrorRuleAction
public TrafficMirrorFilterRule withRuleAction(TrafficMirrorRuleAction ruleAction)
The action assigned to the Traffic Mirror rule.
ruleAction
- The action assigned to the Traffic Mirror rule.TrafficMirrorRuleAction
public void setProtocol(Integer protocol)
The protocol assigned to the Traffic Mirror rule.
protocol
- The protocol assigned to the Traffic Mirror rule.public Integer getProtocol()
The protocol assigned to the Traffic Mirror rule.
public TrafficMirrorFilterRule withProtocol(Integer protocol)
The protocol assigned to the Traffic Mirror rule.
protocol
- The protocol assigned to the Traffic Mirror rule.public void setDestinationPortRange(TrafficMirrorPortRange destinationPortRange)
The destination port range assigned to the Traffic Mirror rule.
destinationPortRange
- The destination port range assigned to the Traffic Mirror rule.public TrafficMirrorPortRange getDestinationPortRange()
The destination port range assigned to the Traffic Mirror rule.
public TrafficMirrorFilterRule withDestinationPortRange(TrafficMirrorPortRange destinationPortRange)
The destination port range assigned to the Traffic Mirror rule.
destinationPortRange
- The destination port range assigned to the Traffic Mirror rule.public void setSourcePortRange(TrafficMirrorPortRange sourcePortRange)
The source port range assigned to the Traffic Mirror rule.
sourcePortRange
- The source port range assigned to the Traffic Mirror rule.public TrafficMirrorPortRange getSourcePortRange()
The source port range assigned to the Traffic Mirror rule.
public TrafficMirrorFilterRule withSourcePortRange(TrafficMirrorPortRange sourcePortRange)
The source port range assigned to the Traffic Mirror rule.
sourcePortRange
- The source port range assigned to the Traffic Mirror rule.public void setDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block assigned to the Traffic Mirror rule.
destinationCidrBlock
- The destination CIDR block assigned to the Traffic Mirror rule.public String getDestinationCidrBlock()
The destination CIDR block assigned to the Traffic Mirror rule.
public TrafficMirrorFilterRule withDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block assigned to the Traffic Mirror rule.
destinationCidrBlock
- The destination CIDR block assigned to the Traffic Mirror rule.public void setSourceCidrBlock(String sourceCidrBlock)
The source CIDR block assigned to the Traffic Mirror rule.
sourceCidrBlock
- The source CIDR block assigned to the Traffic Mirror rule.public String getSourceCidrBlock()
The source CIDR block assigned to the Traffic Mirror rule.
public TrafficMirrorFilterRule withSourceCidrBlock(String sourceCidrBlock)
The source CIDR block assigned to the Traffic Mirror rule.
sourceCidrBlock
- The source CIDR block assigned to the Traffic Mirror rule.public void setDescription(String description)
The description of the Traffic Mirror rule.
description
- The description of the Traffic Mirror rule.public String getDescription()
The description of the Traffic Mirror rule.
public TrafficMirrorFilterRule withDescription(String description)
The description of the Traffic Mirror rule.
description
- The description of the Traffic Mirror rule.public String toString()
toString
in class Object
Object.toString()
public TrafficMirrorFilterRule clone()