Class ListOperation

  • All Implemented Interfaces:
    S3Operation, ComponentLifecycleExtension

    @ComponentProfile(summary="List of files based on S3 key",
                      since="3.9.1")
    public class ListOperation
    extends S3OperationImpl
    List of files based on S3 key.

    In the adapter configuration file this class is aliased as amazon-s3-check-file-exists which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • ListOperation

        public ListOperation()
    • Method Detail

      • withMaxKeys

        public ListOperation withMaxKeys​(java.lang.Integer maxKeys)
      • withPrefix

        public ListOperation withPrefix​(java.lang.String prefix)
      • getPrefix

        public java.lang.String getPrefix()
        Specific the prefix for use with the List operation.
      • setPrefix

        public void setPrefix​(java.lang.String prefix)
        Specific the prefix for use with the List operation.
      • getFilter

        public RemoteBlobFilter getFilter()
        Specify any additional filtering you wish to perform on the list.
      • setFilter

        public void setFilter​(RemoteBlobFilter filter)
        Specify any additional filtering you wish to perform on the list.
      • getOutputStyle

        public BlobListRenderer getOutputStyle()
        Specify the output style.

        If left as null, then only the names of the files will be emitted. You may require additional optional components to utilise other rendering styles.

      • setOutputStyle

        public void setOutputStyle​(BlobListRenderer outputStyle)
        Specify the output style.

        If left as null, then only the names of the files will be emitted. You may require additional optional components to utilise other rendering styles.

      • getMaxKeys

        public java.lang.Integer getMaxKeys()
        Specify max number of keys to be returned per page when paging through results.
      • setMaxKeys

        public void setMaxKeys​(java.lang.Integer maxKeys)
        Specify max number of keys to be returned per page when paging through results.