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