Package org.cdlib.mrt.s3v2.action
Class V2ClientSave
java.lang.Object
org.cdlib.mrt.s3v2.action.V2ClientSave
Before running this Java V2 code example, set up your development
environment, including your credentials.
For more information, see the following documentation topic:
https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/get-started.html
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.logging.log4j.Loggerprotected software.amazon.awssdk.regions.Regionprotected software.amazon.awssdk.services.s3.S3AsyncClientprotected software.amazon.awssdk.services.s3.S3Clientprotected V2ClientSave.S3Type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedV2ClientSave(V2ClientSave.S3Type s3Type, software.amazon.awssdk.regions.Region region) protectedV2ClientSave(V2ClientSave.S3Type s3Type, software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) -
Method Summary
Modifier and TypeMethodDescriptionstatic software.amazon.awssdk.services.s3.S3AsyncClientasycClient(V2ClientSave.S3Type s3Type, software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) static software.amazon.awssdk.services.s3.S3AsyncClientasyncClientDefaultCRT(software.amazon.awssdk.regions.Region region) static software.amazon.awssdk.services.s3.S3AsyncClientasyncClientDefaultNew(software.amazon.awssdk.regions.Region region) static software.amazon.awssdk.services.s3.S3AsyncClientasyncClientDefaultOld(software.amazon.awssdk.regions.Region region) static V2ClientSavegetAWS()static V2ClientSavesoftware.amazon.awssdk.regions.Regionstatic V2ClientSavestatic V2ClientSavesoftware.amazon.awssdk.services.s3.S3AsyncClientsoftware.amazon.awssdk.services.s3.S3Clients3Client()static software.amazon.awssdk.services.s3.S3ClientsyncClient(software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) static software.amazon.awssdk.services.s3.S3ClientsyncClientDefault(software.amazon.awssdk.regions.Region region)
-
Field Details
-
logger
protected static final org.apache.logging.log4j.Logger logger -
s3Type
-
s3AsyncClient
protected software.amazon.awssdk.services.s3.S3AsyncClient s3AsyncClient -
s3Client
protected software.amazon.awssdk.services.s3.S3Client s3Client -
region
protected software.amazon.awssdk.regions.Region region
-
-
Constructor Details
-
V2ClientSave
protected V2ClientSave(V2ClientSave.S3Type s3Type, software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
V2ClientSave
protected V2ClientSave(V2ClientSave.S3Type s3Type, software.amazon.awssdk.regions.Region region) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
-
Method Details
-
getMinio
public static V2ClientSave getMinio(String accessKey, String secretKey, String endpoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getSDSC
public static V2ClientSave getSDSC(String accessKey, String secretKey, String endpoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getWasabi
public static V2ClientSave getWasabi(String accessKey, String secretKey, String endpoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getAWS
- Throws:
org.cdlib.mrt.utility.TException
-
asycClient
public static software.amazon.awssdk.services.s3.S3AsyncClient asycClient(V2ClientSave.S3Type s3Type, software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
syncClient
public static software.amazon.awssdk.services.s3.S3Client syncClient(software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
asyncClientDefaultOld
public static software.amazon.awssdk.services.s3.S3AsyncClient asyncClientDefaultOld(software.amazon.awssdk.regions.Region region) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
asyncClientDefaultNew
public static software.amazon.awssdk.services.s3.S3AsyncClient asyncClientDefaultNew(software.amazon.awssdk.regions.Region region) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
asyncClientDefaultCRT
public static software.amazon.awssdk.services.s3.S3AsyncClient asyncClientDefaultCRT(software.amazon.awssdk.regions.Region region) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
syncClientDefault
public static software.amazon.awssdk.services.s3.S3Client syncClientDefault(software.amazon.awssdk.regions.Region region) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
s3Client
public software.amazon.awssdk.services.s3.S3Client s3Client() -
s3AsyncClient
public software.amazon.awssdk.services.s3.S3AsyncClient s3AsyncClient() -
getRegion
public software.amazon.awssdk.regions.Region getRegion()
-