Interface CloudTrailAuthSchemeProvider
- All Superinterfaces:
AuthSchemeProvider
- All Known Implementing Classes:
DefaultCloudTrailAuthSchemeProvider,PreferredCloudTrailAuthSchemeProvider
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface CloudTrailAuthSchemeProvider
extends AuthSchemeProvider
An auth scheme provider for CloudTrail service. The auth scheme provider takes a set of parameters using
CloudTrailAuthSchemeParams, and resolves a list of AuthSchemeOption based on the given parameters.-
Method Summary
Modifier and TypeMethodDescriptionstatic CloudTrailAuthSchemeProviderGet the default auth scheme provider.static CloudTrailAuthSchemeProviderdefaultProvider(List<String> authSchemePreference) Get the default auth scheme provider the preferred auth schemes in order of preference.default List<AuthSchemeOption> Resolve the auth schemes based on the given set of parameters.resolveAuthScheme(CloudTrailAuthSchemeParams authSchemeParams) Resolve the auth schemes based on the given set of parameters.
-
Method Details
-
resolveAuthScheme
Resolve the auth schemes based on the given set of parameters. -
resolveAuthScheme
default List<AuthSchemeOption> resolveAuthScheme(Consumer<CloudTrailAuthSchemeParams.Builder> consumer) Resolve the auth schemes based on the given set of parameters. -
defaultProvider
Get the default auth scheme provider. -
defaultProvider
Get the default auth scheme provider the preferred auth schemes in order of preference.
-