Interface HarnessRemoteMcpOutboundAuth.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessRemoteMcpOutboundAuth.Builder,,HarnessRemoteMcpOutboundAuth> SdkBuilder<HarnessRemoteMcpOutboundAuth.Builder,,HarnessRemoteMcpOutboundAuth> SdkPojo
- Enclosing class:
HarnessRemoteMcpOutboundAuth
@Mutable
@NotThreadSafe
public static interface HarnessRemoteMcpOutboundAuth.Builder
extends SdkPojo, CopyableBuilder<HarnessRemoteMcpOutboundAuth.Builder,HarnessRemoteMcpOutboundAuth>
-
Method Summary
Modifier and TypeMethodDescriptionawsIam(Consumer<IamCredentialProvider.Builder> awsIam) Sign requests to the remote MCP server with Signature Version 4 (SigV4) using the harness execution role.awsIam(IamCredentialProvider awsIam) Sign requests to the remote MCP server with Signature Version 4 (SigV4) using the harness execution role.none(Consumer<Unit.Builder> none) No authentication.No authentication.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
Sign requests to the remote MCP server with Signature Version 4 (SigV4) using the harness execution role. If you don't specify a Region, the harness Region is used.
- Parameters:
awsIam- Sign requests to the remote MCP server with Signature Version 4 (SigV4) using the harness execution role. If you don't specify a Region, the harness Region is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsIam
Sign requests to the remote MCP server with Signature Version 4 (SigV4) using the harness execution role. If you don't specify a Region, the harness Region is used.
This is a convenience method that creates an instance of theIamCredentialProvider.Builderavoiding the need to create one manually viaIamCredentialProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsIam(IamCredentialProvider).- Parameters:
awsIam- a consumer that will call methods onIamCredentialProvider.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:
-