Class KeyToPath.Jsii$Proxy

  • All Implemented Interfaces:
    KeyToPath, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    KeyToPath

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

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

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

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

      • 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​(KeyToPath.Builder builder)
        Constructor that initializes the object based on literal property values passed by the KeyToPath.Builder.
    • Method Detail

      • getKey

        public final String getKey()
        Description copied from interface: KeyToPath
        key is the key to project.
        Specified by:
        getKey in interface KeyToPath
      • getPath

        public final String getPath()
        Description copied from interface: KeyToPath
        path is the relative path of the file to map the key to.

        May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.

        Specified by:
        getPath in interface KeyToPath
      • getMode

        public final Number getMode()
        Description copied from interface: KeyToPath
        mode is Optional: mode bits used to set permissions on this file.

        Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

        Specified by:
        getMode in interface KeyToPath
      • $jsii$toJson

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

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