Class Destination

  • All Implemented Interfaces:
    Serializable

    public class Destination
    extends Object
    implements Serializable
    From S3 Jenkins Plugin Provides a way to construct a destination bucket name and object name based on the bucket name provided by the user. The convention implemented here is that a / in a bucket name is used to construct a structure in the object name. That is, a put of file.txt to bucket name of "mybucket/v1" will cause the object "v1/file.txt" to be created in the mybucket.
    See Also:
    Serialized Form
    • Field Detail

      • bucketName

        public final String bucketName
      • objectName

        public final String objectName
    • Constructor Detail

      • Destination

        public Destination​(String userBucketName,
                           String fileName)