Package org.cdlib.mrt.s3v2.action
Class V2Client
java.lang.Object
org.cdlib.mrt.s3v2.action.V2Client
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.Logger
protected software.amazon.awssdk.regions.Region
protected software.amazon.awssdk.services.s3.S3AsyncClient
protected software.amazon.awssdk.services.s3.S3Client
protected software.amazon.awssdk.services.s3.presigner.S3Presigner
protected V2Client.S3Type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
V2Client
(V2Client.S3Type s3Type, software.amazon.awssdk.regions.Region region) protected
V2Client
(V2Client.S3Type s3Type, software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) -
Method Summary
Modifier and TypeMethodDescriptionstatic software.amazon.awssdk.services.s3.S3AsyncClient
asycClient
(V2Client.S3Type s3Type, software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) static software.amazon.awssdk.services.s3.S3AsyncClient
asyncClientDefaultCRT
(software.amazon.awssdk.regions.Region region) static software.amazon.awssdk.services.s3.S3AsyncClient
asyncClientDefaultNew
(software.amazon.awssdk.regions.Region region) static software.amazon.awssdk.services.s3.S3AsyncClient
asyncClientDefaultOld
(software.amazon.awssdk.regions.Region region) static V2Client
getAWS()
static V2Client
software.amazon.awssdk.regions.Region
static V2Client
static V2Client
static software.amazon.awssdk.services.s3.presigner.S3Presigner
presigner
(software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) static software.amazon.awssdk.services.s3.presigner.S3Presigner
presignerDefault
(software.amazon.awssdk.regions.Region region) software.amazon.awssdk.services.s3.S3AsyncClient
software.amazon.awssdk.services.s3.S3Client
s3Client()
software.amazon.awssdk.services.s3.presigner.S3Presigner
static software.amazon.awssdk.services.s3.S3Client
syncClient
(software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) static software.amazon.awssdk.services.s3.S3Client
syncClientDefault
(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 -
s3Presigner
protected software.amazon.awssdk.services.s3.presigner.S3Presigner s3Presigner -
region
protected software.amazon.awssdk.regions.Region region
-
-
Constructor Details
-
V2Client
protected V2Client(V2Client.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
-
V2Client
protected V2Client(V2Client.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 V2Client getMinio(String accessKey, String secretKey, String endpoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getSDSC
public static V2Client getSDSC(String accessKey, String secretKey, String endpoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getWasabi
public static V2Client 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(V2Client.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
-
presigner
public static software.amazon.awssdk.services.s3.presigner.S3Presigner presigner(software.amazon.awssdk.regions.Region region, String accessKey, String secretKey, String endPoint) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
presignerDefault
public static software.amazon.awssdk.services.s3.presigner.S3Presigner presignerDefault(software.amazon.awssdk.regions.Region region) 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() -
s3Presigner
public software.amazon.awssdk.services.s3.presigner.S3Presigner s3Presigner() -
getRegion
public software.amazon.awssdk.regions.Region getRegion() -
getS3Type
-