Interface HarnessAgentCoreGatewayConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessAgentCoreGatewayConfig.Builder,,HarnessAgentCoreGatewayConfig> SdkBuilder<HarnessAgentCoreGatewayConfig.Builder,,HarnessAgentCoreGatewayConfig> SdkPojo
- Enclosing class:
HarnessAgentCoreGatewayConfig
@Mutable
@NotThreadSafe
public static interface HarnessAgentCoreGatewayConfig.Builder
extends SdkPojo, CopyableBuilder<HarnessAgentCoreGatewayConfig.Builder,HarnessAgentCoreGatewayConfig>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayArn(String gatewayArn) The ARN of the desired AgentCore Gateway.outboundAuth(Consumer<HarnessGatewayOutboundAuth.Builder> outboundAuth) How Loopy authenticates to this Gateway.outboundAuth(HarnessGatewayOutboundAuth outboundAuth) How Loopy authenticates to this Gateway.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
-
gatewayArn
The ARN of the desired AgentCore Gateway.
- Parameters:
gatewayArn- The ARN of the desired AgentCore Gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundAuth
How Loopy authenticates to this Gateway. Defaults to AWS_IAM (SigV4) if omitted.
- Parameters:
outboundAuth- How Loopy authenticates to this Gateway. Defaults to AWS_IAM (SigV4) if omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundAuth
default HarnessAgentCoreGatewayConfig.Builder outboundAuth(Consumer<HarnessGatewayOutboundAuth.Builder> outboundAuth) How Loopy authenticates to this Gateway. Defaults to AWS_IAM (SigV4) if omitted.
This is a convenience method that creates an instance of theHarnessGatewayOutboundAuth.Builderavoiding the need to create one manually viaHarnessGatewayOutboundAuth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutboundAuth(HarnessGatewayOutboundAuth).- Parameters:
outboundAuth- a consumer that will call methods onHarnessGatewayOutboundAuth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-