@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BorrowConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details about a borrow configuration.
Constructor and Description |
---|
BorrowConfiguration() |
Modifier and Type | Method and Description |
---|---|
BorrowConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowEarlyCheckIn()
Indicates whether early check-ins are allowed.
|
Integer |
getMaxTimeToLiveInMinutes()
Maximum time for the borrow configuration, in minutes.
|
int |
hashCode() |
Boolean |
isAllowEarlyCheckIn()
Indicates whether early check-ins are allowed.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowEarlyCheckIn(Boolean allowEarlyCheckIn)
Indicates whether early check-ins are allowed.
|
void |
setMaxTimeToLiveInMinutes(Integer maxTimeToLiveInMinutes)
Maximum time for the borrow configuration, in minutes.
|
String |
toString()
Returns a string representation of this object.
|
BorrowConfiguration |
withAllowEarlyCheckIn(Boolean allowEarlyCheckIn)
Indicates whether early check-ins are allowed.
|
BorrowConfiguration |
withMaxTimeToLiveInMinutes(Integer maxTimeToLiveInMinutes)
Maximum time for the borrow configuration, in minutes.
|
public void setAllowEarlyCheckIn(Boolean allowEarlyCheckIn)
Indicates whether early check-ins are allowed.
allowEarlyCheckIn
- Indicates whether early check-ins are allowed.public Boolean getAllowEarlyCheckIn()
Indicates whether early check-ins are allowed.
public BorrowConfiguration withAllowEarlyCheckIn(Boolean allowEarlyCheckIn)
Indicates whether early check-ins are allowed.
allowEarlyCheckIn
- Indicates whether early check-ins are allowed.public Boolean isAllowEarlyCheckIn()
Indicates whether early check-ins are allowed.
public void setMaxTimeToLiveInMinutes(Integer maxTimeToLiveInMinutes)
Maximum time for the borrow configuration, in minutes.
maxTimeToLiveInMinutes
- Maximum time for the borrow configuration, in minutes.public Integer getMaxTimeToLiveInMinutes()
Maximum time for the borrow configuration, in minutes.
public BorrowConfiguration withMaxTimeToLiveInMinutes(Integer maxTimeToLiveInMinutes)
Maximum time for the borrow configuration, in minutes.
maxTimeToLiveInMinutes
- Maximum time for the borrow configuration, in minutes.public String toString()
toString
in class Object
Object.toString()
public BorrowConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.