Class AuthenticationRequestParams
java.lang.Object
software.amazon.msk.auth.iam.internals.AuthenticationRequestParams
This class represents the parameters that will be used to generate the Sigv4 signature
as well as the final Authentication Payload sent to the kafka broker.
The class is versioned so that it can be extended if necessary in the future.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationRequestParamscreate(@NonNull String host, software.amazon.awssdk.auth.credentials.AwsCredentials credentials, @NonNull String userAgent) @NonNull software.amazon.awssdk.auth.credentials.AwsCredentials@NonNull StringgetHost()@NonNull software.amazon.awssdk.regions.Region@NonNull String@NonNull String
-
Method Details
-
getServiceScope
-
create
public static AuthenticationRequestParams create(@NonNull @NonNull String host, software.amazon.awssdk.auth.credentials.AwsCredentials credentials, @NonNull @NonNull String userAgent) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
getVersion
-
getHost
-
getAwsCredentials
@NonNull public @NonNull software.amazon.awssdk.auth.credentials.AwsCredentials getAwsCredentials() -
getRegion
@NonNull public @NonNull software.amazon.awssdk.regions.Region getRegion() -
getUserAgent
-