@Generated(value="software.amazon.awssdk:codegen") public final class CreateTrafficMirrorFilterRuleRequest extends Ec2Request implements ToCopyableBuilder<CreateTrafficMirrorFilterRuleRequest.Builder,CreateTrafficMirrorFilterRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTrafficMirrorFilterRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateTrafficMirrorFilterRuleRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
description()
The description of the Traffic Mirror rule.
|
String |
destinationCidrBlock()
The destination CIDR block to assign to the Traffic Mirror rule.
|
TrafficMirrorPortRangeRequest |
destinationPortRange()
The destination port range.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
protocol()
The protocol, for example UDP, to assign to the Traffic Mirror rule.
|
TrafficMirrorRuleAction |
ruleAction()
The action to take on the filtered traffic.
|
String |
ruleActionAsString()
The action to take on the filtered traffic.
|
Integer |
ruleNumber()
The number of the Traffic Mirror rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTrafficMirrorFilterRuleRequest.Builder> |
serializableBuilderClass() |
String |
sourceCidrBlock()
The source CIDR block to assign to the Traffic Mirror rule.
|
TrafficMirrorPortRangeRequest |
sourcePortRange()
The source port range.
|
CreateTrafficMirrorFilterRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TrafficDirection |
trafficDirection()
The type of traffic.
|
String |
trafficDirectionAsString()
The type of traffic.
|
String |
trafficMirrorFilterId()
The ID of the filter that this rule is associated with.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String trafficMirrorFilterId()
The ID of the filter that this rule is associated with.
public final TrafficDirection trafficDirection()
The type of traffic.
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 final String trafficDirectionAsString()
The type of traffic.
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 final 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.
public final TrafficMirrorRuleAction ruleAction()
The action to take on the filtered traffic.
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 final String ruleActionAsString()
The action to take on the filtered traffic.
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 final TrafficMirrorPortRangeRequest destinationPortRange()
The destination port range.
public final TrafficMirrorPortRangeRequest sourcePortRange()
The source port range.
public final 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.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
public final String destinationCidrBlock()
The destination CIDR block to assign to the Traffic Mirror rule.
public final String sourceCidrBlock()
The source CIDR block to assign to the Traffic Mirror rule.
public final String description()
The description of the Traffic Mirror rule.
public final String clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
public CreateTrafficMirrorFilterRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTrafficMirrorFilterRuleRequest.Builder,CreateTrafficMirrorFilterRuleRequest>toBuilder in class Ec2Requestpublic static CreateTrafficMirrorFilterRuleRequest.Builder builder()
public static Class<? extends CreateTrafficMirrorFilterRuleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.