@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrafficMirrorFilterRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateTrafficMirrorFilterRuleRequest>
NOOP| Constructor and Description |
|---|
CreateTrafficMirrorFilterRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTrafficMirrorFilterRuleRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDescription()
The description of the Traffic Mirror rule.
|
String |
getDestinationCidrBlock()
The destination CIDR block to assign to the Traffic Mirror rule.
|
TrafficMirrorPortRangeRequest |
getDestinationPortRange()
The destination port range.
|
Request<CreateTrafficMirrorFilterRuleRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getProtocol()
The protocol, for example UDP, to assign to the Traffic Mirror rule.
|
String |
getRuleAction()
The action to take on the filtered traffic.
|
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 source port range.
|
String |
getTrafficDirection()
The type of traffic.
|
String |
getTrafficMirrorFilterId()
The ID of the filter that this rule is associated with.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description of 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 port range.
|
void |
setProtocol(Integer protocol)
The protocol, for example UDP, to assign to the Traffic Mirror rule.
|
void |
setRuleAction(String ruleAction)
The action to take on the filtered traffic.
|
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 source port range.
|
void |
setTrafficDirection(String trafficDirection)
The type of traffic.
|
void |
setTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the filter that this rule is associated with.
|
String |
toString()
Returns a string representation of this object.
|
CreateTrafficMirrorFilterRuleRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateTrafficMirrorFilterRuleRequest |
withDescription(String description)
The description of the Traffic Mirror rule.
|
CreateTrafficMirrorFilterRuleRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block to assign to the Traffic Mirror rule.
|
CreateTrafficMirrorFilterRuleRequest |
withDestinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination port range.
|
CreateTrafficMirrorFilterRuleRequest |
withProtocol(Integer protocol)
The protocol, for example UDP, to assign to the Traffic Mirror rule.
|
CreateTrafficMirrorFilterRuleRequest |
withRuleAction(String ruleAction)
The action to take on the filtered traffic.
|
CreateTrafficMirrorFilterRuleRequest |
withRuleAction(TrafficMirrorRuleAction ruleAction)
The action to take on the filtered traffic.
|
CreateTrafficMirrorFilterRuleRequest |
withRuleNumber(Integer ruleNumber)
The number of the Traffic Mirror rule.
|
CreateTrafficMirrorFilterRuleRequest |
withSourceCidrBlock(String sourceCidrBlock)
The source CIDR block to assign to the Traffic Mirror rule.
|
CreateTrafficMirrorFilterRuleRequest |
withSourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The source port range.
|
CreateTrafficMirrorFilterRuleRequest |
withTrafficDirection(String trafficDirection)
The type of traffic.
|
CreateTrafficMirrorFilterRuleRequest |
withTrafficDirection(TrafficDirection trafficDirection)
The type of traffic.
|
CreateTrafficMirrorFilterRuleRequest |
withTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the filter that this rule is associated with.
|
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 CreateTrafficMirrorFilterRuleRequest()
public void setTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the filter that this rule is associated with.
trafficMirrorFilterId - The ID of the filter that this rule is associated with.public String getTrafficMirrorFilterId()
The ID of the filter that this rule is associated with.
public CreateTrafficMirrorFilterRuleRequest withTrafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the filter that this rule is associated with.
trafficMirrorFilterId - The ID of the filter that this rule is associated with.public void setTrafficDirection(String trafficDirection)
The type of traffic.
trafficDirection - The type of traffic.TrafficDirectionpublic String getTrafficDirection()
The type of traffic.
TrafficDirectionpublic CreateTrafficMirrorFilterRuleRequest withTrafficDirection(String trafficDirection)
The type of traffic.
trafficDirection - The type of traffic.TrafficDirectionpublic CreateTrafficMirrorFilterRuleRequest withTrafficDirection(TrafficDirection trafficDirection)
The type of traffic.
trafficDirection - The type of traffic.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 CreateTrafficMirrorFilterRuleRequest 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 take on the filtered traffic.
ruleAction - The action to take on the filtered traffic.TrafficMirrorRuleActionpublic String getRuleAction()
The action to take on the filtered traffic.
TrafficMirrorRuleActionpublic CreateTrafficMirrorFilterRuleRequest withRuleAction(String ruleAction)
The action to take on the filtered traffic.
ruleAction - The action to take on the filtered traffic.TrafficMirrorRuleActionpublic CreateTrafficMirrorFilterRuleRequest withRuleAction(TrafficMirrorRuleAction ruleAction)
The action to take on the filtered traffic.
ruleAction - The action to take on the filtered traffic.TrafficMirrorRuleActionpublic void setDestinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination port range.
destinationPortRange - The destination port range.public TrafficMirrorPortRangeRequest getDestinationPortRange()
The destination port range.
public CreateTrafficMirrorFilterRuleRequest withDestinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination port range.
destinationPortRange - The destination port range.public void setSourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The source port range.
sourcePortRange - The source port range.public TrafficMirrorPortRangeRequest getSourcePortRange()
The source port range.
public CreateTrafficMirrorFilterRuleRequest withSourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The source port range.
sourcePortRange - The source port range.public void setProtocol(Integer protocol)
The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
protocol - The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
public Integer getProtocol()
The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
public CreateTrafficMirrorFilterRuleRequest withProtocol(Integer protocol)
The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
protocol - The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
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 CreateTrafficMirrorFilterRuleRequest 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 CreateTrafficMirrorFilterRuleRequest 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 of the Traffic Mirror rule.
description - The description of the Traffic Mirror rule.public String getDescription()
The description of the Traffic Mirror rule.
public CreateTrafficMirrorFilterRuleRequest withDescription(String description)
The description of the Traffic Mirror rule.
description - The description of the Traffic Mirror rule.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to ensure
idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
public CreateTrafficMirrorFilterRuleRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to ensure
idempotency.public Request<CreateTrafficMirrorFilterRuleRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateTrafficMirrorFilterRuleRequest>public String toString()
toString in class ObjectObject.toString()public CreateTrafficMirrorFilterRuleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.