@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() |
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, copyBaseTo, 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, withSdkRequestTimeoutpublic 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.TrafficDirectionpublic String getTrafficDirection()
The type of traffic to assign to the rule.
TrafficDirectionpublic ModifyTrafficMirrorFilterRuleRequest withTrafficDirection(String trafficDirection)
The type of traffic to assign to the rule.
trafficDirection - The type of traffic to assign to the rule.TrafficDirectionpublic ModifyTrafficMirrorFilterRuleRequest withTrafficDirection(TrafficDirection trafficDirection)
The type of traffic to assign to the rule.
trafficDirection - The type of traffic to assign to the rule.TrafficDirectionpublic 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.TrafficMirrorRuleActionpublic String getRuleAction()
The action to assign to the rule.
TrafficMirrorRuleActionpublic ModifyTrafficMirrorFilterRuleRequest withRuleAction(String ruleAction)
The action to assign to the rule.
ruleAction - The action to assign to the rule.TrafficMirrorRuleActionpublic ModifyTrafficMirrorFilterRuleRequest withRuleAction(TrafficMirrorRuleAction ruleAction)
The action to assign to the rule.
ruleAction - The action to assign to the rule.TrafficMirrorRuleActionpublic 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.
TrafficMirrorFilterRuleFieldpublic 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.
TrafficMirrorFilterRuleFieldpublic 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.
TrafficMirrorFilterRuleFieldpublic 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.
TrafficMirrorFilterRuleFieldpublic 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.
TrafficMirrorFilterRuleFieldpublic Request<ModifyTrafficMirrorFilterRuleRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyTrafficMirrorFilterRuleRequest>public String toString()
toString in class ObjectObject.toString()public ModifyTrafficMirrorFilterRuleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.