@Generated(value="software.amazon.awssdk:codegen") public final class ListenerTimeout extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListenerTimeout.Builder,ListenerTimeout>
An object that represents timeouts for different protocols.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListenerTimeout.Builder |
static class |
ListenerTimeout.Type |
| Modifier and Type | Method and Description |
|---|---|
static ListenerTimeout.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static ListenerTimeout |
fromGrpc(Consumer<GrpcTimeout.Builder> grpc)
Create an instance of this class with
grpc() initialized to the given value. |
static ListenerTimeout |
fromGrpc(GrpcTimeout grpc)
Create an instance of this class with
grpc() initialized to the given value. |
static ListenerTimeout |
fromHttp(Consumer<HttpTimeout.Builder> http)
Create an instance of this class with
http() initialized to the given value. |
static ListenerTimeout |
fromHttp(HttpTimeout http)
Create an instance of this class with
http() initialized to the given value. |
static ListenerTimeout |
fromHttp2(Consumer<HttpTimeout.Builder> http2)
Create an instance of this class with
http2() initialized to the given value. |
static ListenerTimeout |
fromHttp2(HttpTimeout http2)
Create an instance of this class with
http2() initialized to the given value. |
static ListenerTimeout |
fromTcp(Consumer<TcpTimeout.Builder> tcp)
Create an instance of this class with
tcp() initialized to the given value. |
static ListenerTimeout |
fromTcp(TcpTimeout tcp)
Create an instance of this class with
tcp() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GrpcTimeout |
grpc()
An object that represents types of timeouts.
|
int |
hashCode() |
HttpTimeout |
http()
An object that represents types of timeouts.
|
HttpTimeout |
http2()
An object that represents types of timeouts.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListenerTimeout.Builder> |
serializableBuilderClass() |
TcpTimeout |
tcp()
An object that represents types of timeouts.
|
ListenerTimeout.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ListenerTimeout.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final GrpcTimeout grpc()
An object that represents types of timeouts.
public final HttpTimeout http()
An object that represents types of timeouts.
public final HttpTimeout http2()
An object that represents types of timeouts.
public final TcpTimeout tcp()
An object that represents types of timeouts.
public ListenerTimeout.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListenerTimeout.Builder,ListenerTimeout>public static ListenerTimeout.Builder builder()
public static Class<? extends ListenerTimeout.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ListenerTimeout fromGrpc(GrpcTimeout grpc)
grpc() initialized to the given value.
An object that represents types of timeouts.
grpc - An object that represents types of timeouts.public static ListenerTimeout fromGrpc(Consumer<GrpcTimeout.Builder> grpc)
grpc() initialized to the given value.
An object that represents types of timeouts.
grpc - An object that represents types of timeouts.public static ListenerTimeout fromHttp(HttpTimeout http)
http() initialized to the given value.
An object that represents types of timeouts.
http - An object that represents types of timeouts.public static ListenerTimeout fromHttp(Consumer<HttpTimeout.Builder> http)
http() initialized to the given value.
An object that represents types of timeouts.
http - An object that represents types of timeouts.public static ListenerTimeout fromHttp2(HttpTimeout http2)
http2() initialized to the given value.
An object that represents types of timeouts.
http2 - An object that represents types of timeouts.public static ListenerTimeout fromHttp2(Consumer<HttpTimeout.Builder> http2)
http2() initialized to the given value.
An object that represents types of timeouts.
http2 - An object that represents types of timeouts.public static ListenerTimeout fromTcp(TcpTimeout tcp)
tcp() initialized to the given value.
An object that represents types of timeouts.
tcp - An object that represents types of timeouts.public static ListenerTimeout fromTcp(Consumer<TcpTimeout.Builder> tcp)
tcp() initialized to the given value.
An object that represents types of timeouts.
tcp - An object that represents types of timeouts.public ListenerTimeout.Type type()
ListenerTimeout.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be ListenerTimeout.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.