jackye1995 commented on code in PR #5684:
URL: https://github.com/apache/iceberg/pull/5684#discussion_r962114136
##########
aws/src/main/java/org/apache/iceberg/aws/AssumeRoleAwsClientFactory.java:
##########
@@ -134,22 +125,12 @@ protected String region() {
return region;
}
- protected String s3Endpoint() {
- return s3Endpoint;
- }
-
- protected String httpClientType() {
- return httpClientType;
- }
-
- protected boolean s3UseArnRegionEnabled() {
- return s3UseArnRegionEnabled;
+ protected AwsProperties awsProperties() {
+ return awsProperties;
}
private StsClient sts() {
- return StsClient.builder()
-
.httpClientBuilder(AwsClientFactories.configureHttpClientBuilder(httpClientType))
- .build();
+ return
StsClient.builder().applyMutation(awsProperties::applyHttpClientConfiguration).build();
Review Comment:
nit: newline for each part of chain in the builder
```
tsClient.builder()
.applyMutation(awsProperties::applyHttpClientConfiguration)
.build()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]