@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyTrafficMirrorFilterRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyTrafficMirrorFilterRuleRequest>
NOOP
Constructor and Description |
---|
ModifyTrafficMirrorFilterRuleRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyTrafficMirrorFilterRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description to assign to the Traffic Mirror rule.
|
String |
getDestinationCidrBlock()
The destination CIDR block to assign to the Traffic Mirror rule.
|
TrafficMirrorPortRangeRequest |
getDestinationPortRange()
The destination ports that are associated with the Traffic Mirror rule.
|
Request<ModifyTrafficMirrorFilterRuleRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getProtocol()
The protocol, for example TCP, to assign to the Traffic Mirror rule.
|
List<String> |
getRemoveFields()
The properties that you want to remove from the Traffic Mirror filter rule.
|
String |
getRuleAction()
The action to assign to the rule.
|
Integer |
getRuleNumber()
The number of the Traffic Mirror rule.
|
String |
getSourceCidrBlock()
The source CIDR block to assign to the Traffic Mirror rule.
|
TrafficMirrorPortRangeRequest |
getSourcePortRange()
The port range to assign to the Traffic Mirror rule.
|
String |
getTrafficDirection()
The type of traffic to assign to the rule.
|
String |
getTrafficMirrorFilterRuleId()
The ID of the Traffic Mirror rule.
|
int |
hashCode() |
void |
setDescription(String description)
The description to assign to the Traffic Mirror rule.
|
void |
setDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block to assign to the Traffic Mirror rule.
|
void |
setDestinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination ports that are associated with the Traffic Mirror rule.
|
void |
setProtocol(Integer protocol)
The protocol, for example TCP, to assign to the Traffic Mirror rule.
|
void |
setRemoveFields(Collection<String> removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
|
void |
setRuleAction(String ruleAction)
The action to assign to the rule.
|
void |
setRuleNumber(Integer ruleNumber)
The number of the Traffic Mirror rule.
|
void |
setSourceCidrBlock(String sourceCidrBlock)
The source CIDR block to assign to the Traffic Mirror rule.
|
void |
setSourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The port range to assign to the Traffic Mirror rule.
|
void |
setTrafficDirection(String trafficDirection)
The type of traffic to assign to the rule.
|
void |
setTrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
|
String |
toString()
Returns a string representation of this object.
|
ModifyTrafficMirrorFilterRuleRequest |
withDescription(String description)
The description to assign to the Traffic Mirror rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block to assign to the Traffic Mirror rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withDestinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination ports that are associated with the Traffic Mirror rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withProtocol(Integer protocol)
The protocol, for example TCP, to assign to the Traffic Mirror rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withRemoveFields(Collection<String> removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withRemoveFields(String... removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withRemoveFields(TrafficMirrorFilterRuleField... removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withRuleAction(String ruleAction)
The action to assign to the rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withRuleAction(TrafficMirrorRuleAction ruleAction)
The action to assign to the rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withRuleNumber(Integer ruleNumber)
The number of the Traffic Mirror rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withSourceCidrBlock(String sourceCidrBlock)
The source CIDR block to assign to the Traffic Mirror rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withSourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The port range to assign to the Traffic Mirror rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withTrafficDirection(String trafficDirection)
The type of traffic to assign to the rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withTrafficDirection(TrafficDirection trafficDirection)
The type of traffic to assign to the rule.
|
ModifyTrafficMirrorFilterRuleRequest |
withTrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ModifyTrafficMirrorFilterRuleRequest()
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 ModifyTrafficMirrorFilterRuleRequest withTrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
trafficMirrorFilterRuleId
- The ID of the Traffic Mirror rule.public void setTrafficDirection(String trafficDirection)
The type of traffic to assign to the rule.
trafficDirection
- The type of traffic to assign to the rule.TrafficDirection
public String getTrafficDirection()
The type of traffic to assign to the rule.
TrafficDirection
public ModifyTrafficMirrorFilterRuleRequest withTrafficDirection(String trafficDirection)
The type of traffic to assign to the rule.
trafficDirection
- The type of traffic to assign to the rule.TrafficDirection
public ModifyTrafficMirrorFilterRuleRequest withTrafficDirection(TrafficDirection trafficDirection)
The type of traffic to assign to the rule.
trafficDirection
- The type of traffic to assign to the rule.TrafficDirection
public void setRuleNumber(Integer ruleNumber)
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
ruleNumber
- The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
direction. The rules are processed in ascending order by rule number.public Integer getRuleNumber()
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
public ModifyTrafficMirrorFilterRuleRequest withRuleNumber(Integer ruleNumber)
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
ruleNumber
- The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
direction. The rules are processed in ascending order by rule number.public void setRuleAction(String ruleAction)
The action to assign to the rule.
ruleAction
- The action to assign to the rule.TrafficMirrorRuleAction
public String getRuleAction()
The action to assign to the rule.
TrafficMirrorRuleAction
public ModifyTrafficMirrorFilterRuleRequest withRuleAction(String ruleAction)
The action to assign to the rule.
ruleAction
- The action to assign to the rule.TrafficMirrorRuleAction
public ModifyTrafficMirrorFilterRuleRequest withRuleAction(TrafficMirrorRuleAction ruleAction)
The action to assign to the rule.
ruleAction
- The action to assign to the rule.TrafficMirrorRuleAction
public void setDestinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination ports that are associated with the Traffic Mirror rule.
destinationPortRange
- The destination ports that are associated with the Traffic Mirror rule.public TrafficMirrorPortRangeRequest getDestinationPortRange()
The destination ports that are associated with the Traffic Mirror rule.
public ModifyTrafficMirrorFilterRuleRequest withDestinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination ports that are associated with the Traffic Mirror rule.
destinationPortRange
- The destination ports that are associated with the Traffic Mirror rule.public void setSourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The port range to assign to the Traffic Mirror rule.
sourcePortRange
- The port range to assign to the Traffic Mirror rule.public TrafficMirrorPortRangeRequest getSourcePortRange()
The port range to assign to the Traffic Mirror rule.
public ModifyTrafficMirrorFilterRuleRequest withSourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The port range to assign to the Traffic Mirror rule.
sourcePortRange
- The port range to assign to the Traffic Mirror rule.public void setProtocol(Integer protocol)
The protocol, for example TCP, to assign to the Traffic Mirror rule.
protocol
- The protocol, for example TCP, to assign to the Traffic Mirror rule.public Integer getProtocol()
The protocol, for example TCP, to assign to the Traffic Mirror rule.
public ModifyTrafficMirrorFilterRuleRequest withProtocol(Integer protocol)
The protocol, for example TCP, to assign to the Traffic Mirror rule.
protocol
- The protocol, for example TCP, to assign to the Traffic Mirror rule.public void setDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block to assign to the Traffic Mirror rule.
destinationCidrBlock
- The destination CIDR block to assign to the Traffic Mirror rule.public String getDestinationCidrBlock()
The destination CIDR block to assign to the Traffic Mirror rule.
public ModifyTrafficMirrorFilterRuleRequest withDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block to assign to the Traffic Mirror rule.
destinationCidrBlock
- The destination CIDR block to assign to the Traffic Mirror rule.public void setSourceCidrBlock(String sourceCidrBlock)
The source CIDR block to assign to the Traffic Mirror rule.
sourceCidrBlock
- The source CIDR block to assign to the Traffic Mirror rule.public String getSourceCidrBlock()
The source CIDR block to assign to the Traffic Mirror rule.
public ModifyTrafficMirrorFilterRuleRequest withSourceCidrBlock(String sourceCidrBlock)
The source CIDR block to assign to the Traffic Mirror rule.
sourceCidrBlock
- The source CIDR block to assign to the Traffic Mirror rule.public void setDescription(String description)
The description to assign to the Traffic Mirror rule.
description
- The description to assign to the Traffic Mirror rule.public String getDescription()
The description to assign to the Traffic Mirror rule.
public ModifyTrafficMirrorFilterRuleRequest withDescription(String description)
The description to assign to the Traffic Mirror rule.
description
- The description to assign to the Traffic Mirror rule.public List<String> getRemoveFields()
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
TrafficMirrorFilterRuleField
public void setRemoveFields(Collection<String> removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
removeFields
- The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
TrafficMirrorFilterRuleField
public ModifyTrafficMirrorFilterRuleRequest withRemoveFields(String... removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveFields(java.util.Collection)
or withRemoveFields(java.util.Collection)
if you want to
override the existing values.
removeFields
- The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
TrafficMirrorFilterRuleField
public ModifyTrafficMirrorFilterRuleRequest withRemoveFields(Collection<String> removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
removeFields
- The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
TrafficMirrorFilterRuleField
public ModifyTrafficMirrorFilterRuleRequest withRemoveFields(TrafficMirrorFilterRuleField... removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
removeFields
- The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
TrafficMirrorFilterRuleField
public Request<ModifyTrafficMirrorFilterRuleRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyTrafficMirrorFilterRuleRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyTrafficMirrorFilterRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()