Package hudson.plugins.s3
Class ClientHelper
java.lang.Object
hudson.plugins.s3.ClientHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.amazonaws.services.s3.AmazonS3
createClient
(String accessKey, String secretKey, boolean useRole, String region, ProxyConfiguration proxy) static com.amazonaws.services.s3.AmazonS3
createClient
(String accessKey, String secretKey, boolean useRole, String region, ProxyConfiguration proxy, String customEndpoint) static com.amazonaws.ClientConfiguration
getClientConfiguration
(ProxyConfiguration proxy, com.amazonaws.regions.Region region)
-
Field Details
-
DEFAULT_AMAZON_S3_REGION_NAME
-
ENDPOINT
-
-
Constructor Details
-
ClientHelper
public ClientHelper()
-
-
Method Details
-
createClient
public static com.amazonaws.services.s3.AmazonS3 createClient(String accessKey, String secretKey, boolean useRole, String region, ProxyConfiguration proxy) -
createClient
public static com.amazonaws.services.s3.AmazonS3 createClient(String accessKey, String secretKey, boolean useRole, String region, ProxyConfiguration proxy, String customEndpoint) -
getClientConfiguration
@NonNull public static com.amazonaws.ClientConfiguration getClientConfiguration(@NonNull ProxyConfiguration proxy, @NonNull com.amazonaws.regions.Region region)
-