Class BLStagingRepositoryUpload

    • Method Detail

      • withRepositoryId

        public final BLStagingRepositoryUpload withRepositoryId​(java.lang.String value)
        Copy the current immutable object by setting a value for the repositoryId attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for repositoryId
        Returns:
        A modified copy of the this object
      • withBaseDirectory

        public final BLStagingRepositoryUpload withBaseDirectory​(java.nio.file.Path value)
        Copy the current immutable object by setting a value for the baseDirectory attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for baseDirectory
        Returns:
        A modified copy of the this object
      • withFiles

        public final BLStagingRepositoryUpload withFiles​(java.nio.file.Path... elements)
        Copy the current immutable object with elements that replace the content of files.
        Parameters:
        elements - The elements to set
        Returns:
        A modified copy of this object
      • withFiles

        public final BLStagingRepositoryUpload withFiles​(java.lang.Iterable<? extends java.nio.file.Path> elements)
        Copy the current immutable object with elements that replace the content of files. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of files elements to set
        Returns:
        A modified copy of this object
      • withRetryDelay

        public final BLStagingRepositoryUpload withRetryDelay​(java.time.Duration value)
        Copy the current immutable object by setting a value for the retryDelay attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for retryDelay
        Returns:
        A modified copy of the this object
      • withRetryCount

        public final BLStagingRepositoryUpload withRetryCount​(int value)
        Copy the current immutable object by setting a value for the retryCount attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for retryCount
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of BLStagingRepositoryUpload that have equal attribute values.
        Overrides:
        equals in class java.lang.Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: repositoryId, baseDirectory, files, retryDelay, retryCount.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

        public java.lang.String toString()
        Prints the immutable value BLStagingRepositoryUpload with attribute values.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the value