@Stability(value=Experimental) @Internal public static final class InitServiceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements InitServiceOptions
InitServiceOptionssoftware.amazon.jsii.JsiiObject.InitializationModeInitServiceOptions.Builder, InitServiceOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Boolean enabled,
Boolean ensureRunning,
InitServiceRestartHandle serviceRestartHandle)
Constructor that initializes the object based on literal property values passed by the
InitServiceOptions.Builder. |
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(Object o) |
Boolean |
getEnabled()
(experimental) Enable or disable this service.
|
Boolean |
getEnsureRunning()
(experimental) Make sure this service is running or not running after cfn-init finishes.
|
InitServiceRestartHandle |
getServiceRestartHandle()
(experimental) Restart service when the actions registered into the restartHandle have been performed.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Boolean enabled, Boolean ensureRunning, InitServiceRestartHandle serviceRestartHandle)
InitServiceOptions.Builder.public final Boolean getEnabled()
InitServiceOptionsSet 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 InitServiceOptionspublic final Boolean getEnsureRunning()
InitServiceOptionsSet 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 InitServiceOptionspublic 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@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.