public static final class InitServiceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements InitServiceOptions
InitServiceOptions
InitServiceOptions.Builder, InitServiceOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getEnabled()
Enable or disable this service.
|
java.lang.Boolean |
getEnsureRunning()
Make sure this service is running or not running after cfn-init finishes.
|
InitServiceRestartHandle |
getServiceRestartHandle()
Restart service when the actions registered into the restartHandle have been performed.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Boolean getEnabled()
InitServiceOptions
Set to true to ensure that the service will be started automatically upon boot.
Set to false to ensure that the service will not be started automatically upon boot.
Default: - true if used in `InitService.enable()`, no change to service state if used in `InitService.fromOptions()`.
getEnabled
in interface InitServiceOptions
public final java.lang.Boolean getEnsureRunning()
InitServiceOptions
Set to true to ensure that the service is running after cfn-init finishes.
Set to false to ensure that the service is not running after cfn-init finishes.
Default: - same value as `enabled`.
getEnsureRunning
in interface InitServiceOptions
public final InitServiceRestartHandle getServiceRestartHandle()
InitServiceOptions
Register actions into the restartHandle by passing it to InitFile
, InitCommand
,
InitPackage
and InitSource
objects.
Default: - No files trigger restart
getServiceRestartHandle
in interface InitServiceOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()