@Generated(value="software.amazon.awssdk:codegen") public final class HttpTimeout extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HttpTimeout.Builder,HttpTimeout>
An object that represents types of timeouts.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpTimeout.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HttpTimeout.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Duration |
idle()
An object that represents an idle timeout.
|
Duration |
perRequest()
An object that represents a per request timeout.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HttpTimeout.Builder> |
serializableBuilderClass() |
HttpTimeout.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Duration idle()
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
public final Duration perRequest()
An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.
public HttpTimeout.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HttpTimeout.Builder,HttpTimeout>public static HttpTimeout.Builder builder()
public static Class<? extends HttpTimeout.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.