Class TrafficMirrorPortRangeRequest
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.TrafficMirrorPortRangeRequest
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TrafficMirrorPortRangeRequest.Builder,TrafficMirrorPortRangeRequest>
@Generated("software.amazon.awssdk:codegen") public final class TrafficMirrorPortRangeRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrafficMirrorPortRangeRequest.Builder,TrafficMirrorPortRangeRequest>
Information about the Traffic Mirror filter rule port range.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TrafficMirrorPortRangeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrafficMirrorPortRangeRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Integer
fromPort()
The first port in the Traffic Mirror port range.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends TrafficMirrorPortRangeRequest.Builder>
serializableBuilderClass()
TrafficMirrorPortRangeRequest.Builder
toBuilder()
Integer
toPort()
The last port in the Traffic Mirror port range.String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fromPort
public final Integer fromPort()
The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.
- Returns:
- The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.
-
toPort
public final Integer toPort()
The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.
- Returns:
- The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.
-
toBuilder
public TrafficMirrorPortRangeRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<TrafficMirrorPortRangeRequest.Builder,TrafficMirrorPortRangeRequest>
-
builder
public static TrafficMirrorPortRangeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends TrafficMirrorPortRangeRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-