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 interfaceTrafficMirrorPortRangeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrafficMirrorPortRangeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerfromPort()The first port in the Traffic Mirror port range.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TrafficMirrorPortRangeRequest.Builder>serializableBuilderClass()TrafficMirrorPortRangeRequest.BuildertoBuilder()IntegertoPort()The last port in the Traffic Mirror port range.StringtoString()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-