@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpTimeout extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents types of timeouts.
Constructor and Description |
---|
HttpTimeout() |
Modifier and Type | Method and Description |
---|---|
HttpTimeout |
clone() |
boolean |
equals(Object obj) |
Duration |
getIdle() |
Duration |
getPerRequest() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdle(Duration idle) |
void |
setPerRequest(Duration perRequest) |
String |
toString()
Returns a string representation of this object.
|
HttpTimeout |
withIdle(Duration idle) |
HttpTimeout |
withPerRequest(Duration perRequest) |
public void setIdle(Duration idle)
idle
- public Duration getIdle()
public HttpTimeout withIdle(Duration idle)
idle
- public void setPerRequest(Duration perRequest)
perRequest
- public Duration getPerRequest()
public HttpTimeout withPerRequest(Duration perRequest)
perRequest
- public String toString()
toString
in class Object
Object.toString()
public HttpTimeout clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.