Class FlowTimeouts
- java.lang.Object
-
- software.amazon.awssdk.services.networkfirewall.model.FlowTimeouts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FlowTimeouts.Builder,FlowTimeouts>
@Generated("software.amazon.awssdk:codegen") public final class FlowTimeouts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FlowTimeouts.Builder,FlowTimeouts>
Describes the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle and Network Firewall removes the flow entry from its flow table. Existing connections and flows are not impacted when you update this value. Only new connections after you update this value are impacted.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFlowTimeouts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowTimeouts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FlowTimeouts.Builder>serializableBuilderClass()IntegertcpIdleTimeoutSeconds()The number of seconds that can pass without any TCP traffic sent through the firewall before the firewall determines that the connection is idle.FlowTimeouts.BuildertoBuilder()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
-
tcpIdleTimeoutSeconds
public final Integer tcpIdleTimeoutSeconds()
The number of seconds that can pass without any TCP traffic sent through the firewall before the firewall determines that the connection is idle. After the idle timeout passes, data packets are dropped, however, the next TCP SYN packet is considered a new flow and is processed by the firewall. Clients or targets can use TCP keepalive packets to reset the idle timeout.
You can define the
TcpIdleTimeoutSecondsvalue to be between 60 and 6000 seconds. If no value is provided, it defaults to 350 seconds.- Returns:
- The number of seconds that can pass without any TCP traffic sent through the firewall before the firewall
determines that the connection is idle. After the idle timeout passes, data packets are dropped, however,
the next TCP SYN packet is considered a new flow and is processed by the firewall. Clients or targets can
use TCP keepalive packets to reset the idle timeout.
You can define the
TcpIdleTimeoutSecondsvalue to be between 60 and 6000 seconds. If no value is provided, it defaults to 350 seconds.
-
toBuilder
public FlowTimeouts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FlowTimeouts.Builder,FlowTimeouts>
-
builder
public static FlowTimeouts.Builder builder()
-
serializableBuilderClass
public static Class<? extends FlowTimeouts.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-