Change config related classes from v1 to v2
Apache 2.0Change config related classes from v1 to v2.
software. amazon. awssdk. v2migration. ChangeConfigTypesmod run . --recipe= software. amazon. awssdk. v2migration. ChangeConfigTypesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change method name
com.amazonaws.ClientConfiguration withRequestTimeout(int)towithApiCallAttemptTimeout - Change method name
com.amazonaws.ClientConfiguration setRequestTimeout(int)towithApiCallAttemptTimeout - Convert the method parameter from numeric type to duration
com.amazonaws.ClientConfiguration withApiCallAttemptTimeout(int) - Change method name
com.amazonaws.ClientConfiguration withClientExecutionTimeout(int)towithApiCallTimeout - Change method name
com.amazonaws.ClientConfiguration setClientExecutionTimeout(int)towithApiCallTimeout - Convert the method parameter from numeric type to duration
com.amazonaws.ClientConfiguration withApiCallTimeout(int) - Convert the method parameter from numeric type to duration
com.amazonaws.ClientConfiguration withConnectionTimeout(int) - Convert the method parameter from numeric type to duration
com.amazonaws.ClientConfiguration withSocketTimeout(int) - Change method name
com.amazonaws.ClientConfiguration withConnectionMaxIdleMillis(long)towithConnectionMaxIdleTime - Convert the method parameter from numeric type to duration
com.amazonaws.ClientConfiguration withConnectionMaxIdleTime(long) - Change method name
com.amazonaws.ClientConfiguration withConnectionTTL(long)towithConnectionTimeToLive - Convert the method parameter from numeric type to duration
com.amazonaws.ClientConfiguration withConnectionTimeToLive(long) - Change method name
com.amazonaws.ClientConfiguration withRetryMode(..)towithRetryPolicy - Change method name
com.amazonaws.ClientConfiguration setRetryMode(..)towithRetryPolicy - Change method name
com.amazonaws.ClientConfiguration withHeader(String, String)towithPutHeader - Change method name
com.amazonaws.ClientConfiguration setHeader(String, String)towithPutHeader - Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Add a comment to a method
- Change type
ClientConfigurationtoClientOverrideConfiguration - Change type
com.amazonaws.retry.RetryModetosoftware.amazon.awssdk.core.retry.RetryMode - Change type
AmazonWebServiceClienttoAwsClient - Change type
com.amazonaws.client.builder.AwsSyncClientBuildertosoftware.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder - Change type
AwsClientBuildertoAwsSyncClientBuilder - Change type
AwsAsyncClientBuildertoAwsSyncClientBuilder