@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListenerTimeout extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents timeouts for different protocols.
Constructor and Description |
---|
ListenerTimeout() |
Modifier and Type | Method and Description |
---|---|
ListenerTimeout |
clone() |
boolean |
equals(Object obj) |
GrpcTimeout |
getGrpc()
An object that represents types of timeouts.
|
HttpTimeout |
getHttp()
An object that represents types of timeouts.
|
HttpTimeout |
getHttp2()
An object that represents types of timeouts.
|
TcpTimeout |
getTcp()
An object that represents types of timeouts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGrpc(GrpcTimeout grpc)
An object that represents types of timeouts.
|
void |
setHttp(HttpTimeout http)
An object that represents types of timeouts.
|
void |
setHttp2(HttpTimeout http2)
An object that represents types of timeouts.
|
void |
setTcp(TcpTimeout tcp)
An object that represents types of timeouts.
|
String |
toString()
Returns a string representation of this object.
|
ListenerTimeout |
withGrpc(GrpcTimeout grpc)
An object that represents types of timeouts.
|
ListenerTimeout |
withHttp(HttpTimeout http)
An object that represents types of timeouts.
|
ListenerTimeout |
withHttp2(HttpTimeout http2)
An object that represents types of timeouts.
|
ListenerTimeout |
withTcp(TcpTimeout tcp)
An object that represents types of timeouts.
|
public void setGrpc(GrpcTimeout grpc)
An object that represents types of timeouts.
grpc
- An object that represents types of timeouts.public GrpcTimeout getGrpc()
An object that represents types of timeouts.
public ListenerTimeout withGrpc(GrpcTimeout grpc)
An object that represents types of timeouts.
grpc
- An object that represents types of timeouts.public void setHttp(HttpTimeout http)
An object that represents types of timeouts.
http
- An object that represents types of timeouts.public HttpTimeout getHttp()
An object that represents types of timeouts.
public ListenerTimeout withHttp(HttpTimeout http)
An object that represents types of timeouts.
http
- An object that represents types of timeouts.public void setHttp2(HttpTimeout http2)
An object that represents types of timeouts.
http2
- An object that represents types of timeouts.public HttpTimeout getHttp2()
An object that represents types of timeouts.
public ListenerTimeout withHttp2(HttpTimeout http2)
An object that represents types of timeouts.
http2
- An object that represents types of timeouts.public void setTcp(TcpTimeout tcp)
An object that represents types of timeouts.
tcp
- An object that represents types of timeouts.public TcpTimeout getTcp()
An object that represents types of timeouts.
public ListenerTimeout withTcp(TcpTimeout tcp)
An object that represents types of timeouts.
tcp
- An object that represents types of timeouts.public String toString()
toString
in class Object
Object.toString()
public ListenerTimeout clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.