Class S3Preflight
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
-
- com.ibm.fhir.operation.bulkdata.config.preflight.impl.S3Preflight
-
- All Implemented Interfaces:
Preflight
public class S3Preflight extends NopPreflight
Checks the S3 Configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classS3Preflight.BucketHostS3Callable
-
Constructor Summary
Constructors Constructor Description S3Preflight(java.lang.String source, java.lang.String outcome, java.util.List<Input> inputs, OperationConstants.ExportType exportType, java.lang.String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckStorageAllowed(StorageDetail storageDetail)Checks the storage type is allowed.voidpreflight()The preflight execution checks access to the Source,Outcome.voidpreflight(boolean write)checks the preflight execution for a conditional-writecom.ibm.cloud.objectstorage.services.s3.AmazonS3validate(java.lang.String source)validates the s3 is properly configured.-
Methods inherited from class com.ibm.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
getExportType, getFormat, getInputs, getOutcome, getSource
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.fhir.operation.bulkdata.config.preflight.Preflight
checkParquet
-
-
-
-
Constructor Detail
-
S3Preflight
public S3Preflight(java.lang.String source, java.lang.String outcome, java.util.List<Input> inputs, OperationConstants.ExportType exportType, java.lang.String format)
-
-
Method Detail
-
preflight
public void preflight() throws FHIROperationExceptionDescription copied from interface:PreflightThe preflight execution checks access to the Source,Outcome.- Specified by:
preflightin interfacePreflight- Overrides:
preflightin classNopPreflight- Throws:
FHIROperationException
-
preflight
public void preflight(boolean write) throws FHIROperationExceptionDescription copied from interface:Preflightchecks the preflight execution for a conditional-write- Throws:
FHIROperationException
-
validate
public com.ibm.cloud.objectstorage.services.s3.AmazonS3 validate(java.lang.String source) throws FHIROperationExceptionvalidates the s3 is properly configured.- Parameters:
source-- Returns:
- AmazonS3
- Throws:
FHIROperationException
-
checkStorageAllowed
public void checkStorageAllowed(StorageDetail storageDetail) throws FHIROperationException
Description copied from interface:PreflightChecks the storage type is allowed.- Specified by:
checkStorageAllowedin interfacePreflight- Overrides:
checkStorageAllowedin classNopPreflight- Throws:
FHIROperationException
-
-