Interface HarnessGatewayOutboundAuth.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessGatewayOutboundAuth.Builder,,HarnessGatewayOutboundAuth> SdkBuilder<HarnessGatewayOutboundAuth.Builder,,HarnessGatewayOutboundAuth> SdkPojo
- Enclosing class:
HarnessGatewayOutboundAuth
@Mutable
@NotThreadSafe
public static interface HarnessGatewayOutboundAuth.Builder
extends SdkPojo, CopyableBuilder<HarnessGatewayOutboundAuth.Builder,HarnessGatewayOutboundAuth>
-
Method Summary
Modifier and TypeMethodDescriptionawsIam(Consumer<Unit.Builder> awsIam) SigV4-sign requests using the agent's execution role.SigV4-sign requests using the agent's execution role.none(Consumer<Unit.Builder> none) No authentication.No authentication.OAuth 2.0 authentication via AgentCore Identity.oauth(OAuthCredentialProvider oauth) OAuth 2.0 authentication via AgentCore Identity.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
-
awsIam
SigV4-sign requests using the agent's execution role.
- Parameters:
awsIam- SigV4-sign requests using the agent's execution role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsIam
SigV4-sign requests using the agent's execution role.
This is a convenience method that creates an instance of theUnit.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsIam(Unit).- Parameters:
awsIam- a consumer that will call methods onUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
none
No authentication.
- Parameters:
none- No authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
none
No authentication.
This is a convenience method that creates an instance of theUnit.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonone(Unit).- Parameters:
none- a consumer that will call methods onUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oauth
OAuth 2.0 authentication via AgentCore Identity.
- Parameters:
oauth- OAuth 2.0 authentication via AgentCore Identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth
OAuth 2.0 authentication via AgentCore Identity.
This is a convenience method that creates an instance of theOAuthCredentialProvider.Builderavoiding the need to create one manually viaOAuthCredentialProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooauth(OAuthCredentialProvider).- Parameters:
oauth- a consumer that will call methods onOAuthCredentialProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-