Class UploadArtifactWith.Jsii$Proxy

    • 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.
    • Method Detail

      • getCompressionLevel

        public final Number getCompressionLevel()
        Description copied from interface: UploadArtifactWith
        (experimental) The level of compression for Zlib to be applied to the artifact archive.

        The value can range from 0 to 9. For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads.

        Default: 6

        Specified by:
        getCompressionLevel in interface UploadArtifactWith
      • getIfNoFilesFound

        public final String getIfNoFilesFound()
        Description copied from interface: UploadArtifactWith
        (experimental) The desired behavior if no files are found using the provided path.

        Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail

        Default: "warn"

        Specified by:
        getIfNoFilesFound in interface UploadArtifactWith
      • getOverwrite

        public final Boolean getOverwrite()
        Description copied from interface: UploadArtifactWith
        (experimental) Whether action should overwrite an existing artifact with the same name (should one exist).

        Introduced in v4 and represents a breaking change from the behavior of the v3 action. To maintain backwards compatibility with existing, this should be set the true (the default).

        Default: true

        Specified by:
        getOverwrite in interface UploadArtifactWith
      • getRetentionDays

        public final Number getRetentionDays()
        Description copied from interface: UploadArtifactWith
        (experimental) Duration after which artifact will expire in days. 0 means using default repository retention.

        Minimum 1 day. Maximum 90 days unless changed from the repository settings page.

        Default: - The default repository retention

        Specified by:
        getRetentionDays in interface UploadArtifactWith
      • $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