Class InitFileOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.InitFileOptions.Jsii$Proxy
All Implemented Interfaces:
InitFileOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
InitFileOptions

@Stability(Stable) @Internal public static final class InitFileOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements InitFileOptions
An implementation for InitFileOptions
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.InitFileOptions

    InitFileOptions.Builder, InitFileOptions.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the InitFileOptions.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    True if the inlined content (from a string or file) should be treated as base64 encoded.
    final String
    The name of the owning group for this file.
    final String
    A six-digit octal value representing the mode for this file.
    final String
    The name of the owning user for this file.
    Restart the given service after this file has been written.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(InitFileOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the InitFileOptions.Builder.
  • Method Details

    • getBase64Encoded

      public final Boolean getBase64Encoded()
      Description copied from interface: InitFileOptions
      True if the inlined content (from a string or file) should be treated as base64 encoded.

      Only applicable for inlined string and file content.

      Default: false

      Specified by:
      getBase64Encoded in interface InitFileOptions
    • getGroup

      public final String getGroup()
      Description copied from interface: InitFileOptions
      The name of the owning group for this file.

      Not supported for Windows systems.

      Default: 'root'

      Specified by:
      getGroup in interface InitFileOptions
    • getMode

      public final String getMode()
      Description copied from interface: InitFileOptions
      A six-digit octal value representing the mode for this file.

      Use the first three digits for symlinks and the last three digits for setting permissions. To create a symlink, specify 120xxx, where xxx defines the permissions of the target file. To specify permissions for a file, use the last three digits, such as 000644.

      Not supported for Windows systems.

      Default: '000644'

      Specified by:
      getMode in interface InitFileOptions
    • getOwner

      public final String getOwner()
      Description copied from interface: InitFileOptions
      The name of the owning user for this file.

      Not supported for Windows systems.

      Default: 'root'

      Specified by:
      getOwner in interface InitFileOptions
    • getServiceRestartHandles

      public final List<InitServiceRestartHandle> getServiceRestartHandles()
      Description copied from interface: InitFileOptions
      Restart the given service after this file has been written.

      Default: - Do not restart any service

      Specified by:
      getServiceRestartHandles in interface InitFileOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object