Class SdkUserAgentBuilder
- java.lang.Object
-
- software.amazon.awssdk.core.internal.useragent.SdkUserAgentBuilder
-
@ThreadSafe @SdkProtectedApi public final class SdkUserAgentBuilder extends Object
Responsible for building user agent strings for different use cases.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbuildClientUserAgentString(SystemUserAgent systemValues, SdkClientUserAgentProperties userAgentProperties)Constructs a string representation of an SDK client user agent string, based on system and client data.static StringbuildSystemUserAgentString(SystemUserAgent systemValues)Constructs a string representation of system user agent values only, that can be used for any backend calls.
-
-
-
Method Detail
-
buildClientUserAgentString
public static String buildClientUserAgentString(SystemUserAgent systemValues, SdkClientUserAgentProperties userAgentProperties)
Constructs a string representation of an SDK client user agent string, based on system and client data. Note that request level values must be added separately.
-
buildSystemUserAgentString
public static String buildSystemUserAgentString(SystemUserAgent systemValues)
Constructs a string representation of system user agent values only, that can be used for any backend calls.
-
-