@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoStopConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for an application to automatically stop after a certain amount of time being idle.
Constructor and Description |
---|
AutoStopConfig() |
Modifier and Type | Method and Description |
---|---|
AutoStopConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Enables the application to automatically stop after a certain amount of time being idle.
|
Integer |
getIdleTimeoutMinutes()
The amount of idle time in minutes after which your application will automatically stop.
|
int |
hashCode() |
Boolean |
isEnabled()
Enables the application to automatically stop after a certain amount of time being idle.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Enables the application to automatically stop after a certain amount of time being idle.
|
void |
setIdleTimeoutMinutes(Integer idleTimeoutMinutes)
The amount of idle time in minutes after which your application will automatically stop.
|
String |
toString()
Returns a string representation of this object.
|
AutoStopConfig |
withEnabled(Boolean enabled)
Enables the application to automatically stop after a certain amount of time being idle.
|
AutoStopConfig |
withIdleTimeoutMinutes(Integer idleTimeoutMinutes)
The amount of idle time in minutes after which your application will automatically stop.
|
public void setEnabled(Boolean enabled)
Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
enabled
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.public Boolean getEnabled()
Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
public AutoStopConfig withEnabled(Boolean enabled)
Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
enabled
- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.public Boolean isEnabled()
Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
public void setIdleTimeoutMinutes(Integer idleTimeoutMinutes)
The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
idleTimeoutMinutes
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15
minutes.public Integer getIdleTimeoutMinutes()
The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
public AutoStopConfig withIdleTimeoutMinutes(Integer idleTimeoutMinutes)
The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
idleTimeoutMinutes
- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15
minutes.public String toString()
toString
in class Object
Object.toString()
public AutoStopConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.