|
@@ -115,6 +115,12 @@ public interface S3ClientFactory {
|
|
|
*/
|
|
|
private String userAgentSuffix = "";
|
|
|
|
|
|
+ /**
|
|
|
+ * S3A path.
|
|
|
+ * added in HADOOP-18330
|
|
|
+ */
|
|
|
+ private URI pathUri;
|
|
|
+
|
|
|
/**
|
|
|
* List of request handlers to include in the chain
|
|
|
* of request execution in the SDK.
|
|
@@ -264,5 +270,26 @@ public interface S3ClientFactory {
|
|
|
public Map<String, String> getHeaders() {
|
|
|
return headers;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the full s3 path.
|
|
|
+ * added in HADOOP-18330
|
|
|
+ * @return path URI
|
|
|
+ */
|
|
|
+ public URI getPathUri() {
|
|
|
+ return pathUri;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Set full s3a path.
|
|
|
+ * added in HADOOP-18330
|
|
|
+ * @param value new value
|
|
|
+ * @return the builder
|
|
|
+ */
|
|
|
+ public S3ClientCreationParameters withPathUri(
|
|
|
+ final URI value) {
|
|
|
+ pathUri = value;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
}
|
|
|
}
|