Interface ProtocolConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProtocolConfiguration.Builder,,ProtocolConfiguration> SdkBuilder<ProtocolConfiguration.Builder,,ProtocolConfiguration> SdkPojo
- Enclosing class:
ProtocolConfiguration
@Mutable
@NotThreadSafe
public static interface ProtocolConfiguration.Builder
extends SdkPojo, CopyableBuilder<ProtocolConfiguration.Builder,ProtocolConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe path on which the agent server accepts requests.The port on which the agent server listens.serverProtocol(String serverProtocol) The server protocol for the agent runtime.serverProtocol(ServerProtocol serverProtocol) The server protocol for the agent runtime.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
-
serverProtocol
The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
- Parameters:
serverProtocol- The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverProtocol
The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
- Parameters:
serverProtocol- The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
port
The port on which the agent server listens. The port must be between
8000and12000, excluding the reserved port8443. When this field is omitted, the default is8080forHTTPandAGUI,8000forMCP, and9000forA2A.- Parameters:
port- The port on which the agent server listens. The port must be between8000and12000, excluding the reserved port8443. When this field is omitted, the default is8080forHTTPandAGUI,8000forMCP, and9000forA2A.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path on which the agent server accepts requests. The path must begin with
/. When this field is omitted, the default is/invocationsforHTTPandAGUI,/mcpforMCP, and/forA2A.- Parameters:
path- The path on which the agent server accepts requests. The path must begin with/. When this field is omitted, the default is/invocationsforHTTPandAGUI,/mcpforMCP, and/forA2A.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-