Interface RemoteAgentAuthorizationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RemoteAgentAuthorizationConfig.Builder,,RemoteAgentAuthorizationConfig> SdkBuilder<RemoteAgentAuthorizationConfig.Builder,,RemoteAgentAuthorizationConfig> SdkPojo
- Enclosing class:
RemoteAgentAuthorizationConfig
-
Method Summary
Modifier and TypeMethodDescriptionRemote agent configuration with API key authentication.apiKey(RemoteAgentAPIKeyConfig apiKey) Remote agent configuration with API key authentication.bearerToken(Consumer<RemoteAgentBearerTokenConfig.Builder> bearerToken) Remote agent configuration with Bearer token (RFC 6750).bearerToken(RemoteAgentBearerTokenConfig bearerToken) Remote agent configuration with Bearer token (RFC 6750).oAuthClientCredentials(Consumer<RemoteAgentOAuthClientCredentialsConfig.Builder> oAuthClientCredentials) Remote agent configuration with OAuth client credentials.oAuthClientCredentials(RemoteAgentOAuthClientCredentialsConfig oAuthClientCredentials) Remote agent configuration with OAuth client credentials.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
apiKey
Remote agent configuration with API key authentication.
- Parameters:
apiKey- Remote agent configuration with API key authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKey
default RemoteAgentAuthorizationConfig.Builder apiKey(Consumer<RemoteAgentAPIKeyConfig.Builder> apiKey) Remote agent configuration with API key authentication.
This is a convenience method that creates an instance of theRemoteAgentAPIKeyConfig.Builderavoiding the need to create one manually viaRemoteAgentAPIKeyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiKey(RemoteAgentAPIKeyConfig).- Parameters:
apiKey- a consumer that will call methods onRemoteAgentAPIKeyConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuthClientCredentials
RemoteAgentAuthorizationConfig.Builder oAuthClientCredentials(RemoteAgentOAuthClientCredentialsConfig oAuthClientCredentials) Remote agent configuration with OAuth client credentials.
- Parameters:
oAuthClientCredentials- Remote agent configuration with OAuth client credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthClientCredentials
default RemoteAgentAuthorizationConfig.Builder oAuthClientCredentials(Consumer<RemoteAgentOAuthClientCredentialsConfig.Builder> oAuthClientCredentials) Remote agent configuration with OAuth client credentials.
This is a convenience method that creates an instance of theRemoteAgentOAuthClientCredentialsConfig.Builderavoiding the need to create one manually viaRemoteAgentOAuthClientCredentialsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuthClientCredentials(RemoteAgentOAuthClientCredentialsConfig).- Parameters:
oAuthClientCredentials- a consumer that will call methods onRemoteAgentOAuthClientCredentialsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bearerToken
Remote agent configuration with Bearer token (RFC 6750).
- Parameters:
bearerToken- Remote agent configuration with Bearer token (RFC 6750).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bearerToken
default RemoteAgentAuthorizationConfig.Builder bearerToken(Consumer<RemoteAgentBearerTokenConfig.Builder> bearerToken) Remote agent configuration with Bearer token (RFC 6750).
This is a convenience method that creates an instance of theRemoteAgentBearerTokenConfig.Builderavoiding the need to create one manually viaRemoteAgentBearerTokenConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobearerToken(RemoteAgentBearerTokenConfig).- Parameters:
bearerToken- a consumer that will call methods onRemoteAgentBearerTokenConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-