Class SdkUserAgentBuilder
java.lang.Object
software.amazon.awssdk.core.internal.useragent.SdkUserAgentBuilder
Responsible for building user agent strings for different use cases.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildClientUserAgentString
(SystemUserAgent systemValues, SdkClientUserAgentProperties userAgentProperties) Constructs a string representation of an SDK client user agent string, based on system and client data.static String
buildSystemUserAgentString
(SystemUserAgent systemValues) Constructs a string representation of system user agent values only, that can be used for any backend calls.
-
Method Details
-
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
Constructs a string representation of system user agent values only, that can be used for any backend calls.
-