Package io.cloudstub.core.internal
Class AwsEndpointOverride
java.lang.Object
io.cloudstub.core.internal.AwsEndpointOverride
Manages the
aws.endpoint-url system property that redirects AWS SDK v2 traffic to the
embedded mock server. Set on start, cleared on stop.-
Method Summary
-
Method Details
-
set
public static void set(int port) Points the AWS SDK athttp://localhost:<port>. -
clear
public static void clear()Removes the override so the AWS SDK reverts to its normal endpoint resolution.
-