Class S3Preflight.BucketHostS3Callable

  • All Implemented Interfaces:
    java.util.concurrent.Callable<org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.S3Preflight.BucketResult>
    Enclosing class:
    S3Preflight

    protected static class S3Preflight.BucketHostS3Callable
    extends java.lang.Object
    implements java.util.concurrent.Callable<org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.S3Preflight.BucketResult>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.S3Preflight.BucketResult result  
    • Constructor Summary

      Constructors 
      Constructor Description
      BucketHostS3Callable​(java.lang.String source, com.ibm.cloud.objectstorage.services.s3.AmazonS3 client, java.lang.String bucketName, boolean write)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.S3Preflight.BucketResult call()  
      void setWrite()
      Identifies this as a write (not just a read)
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • result

        org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.S3Preflight.BucketResult result
    • Constructor Detail

      • BucketHostS3Callable

        public BucketHostS3Callable​(java.lang.String source,
                                    com.ibm.cloud.objectstorage.services.s3.AmazonS3 client,
                                    java.lang.String bucketName,
                                    boolean write)
                             throws FHIROperationException
        Throws:
        FHIROperationException
    • Method Detail

      • setWrite

        public void setWrite()
        Identifies this as a write (not just a read)
      • call

        public org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.S3Preflight.BucketResult call()
                                                                                                       throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.S3Preflight.BucketResult>
        Throws:
        java.lang.Exception