Interface AgenticConnector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgenticConnector.Builder,,AgenticConnector> SdkBuilder<AgenticConnector.Builder,,AgenticConnector> SdkPojo
- Enclosing class:
AgenticConnector
-
Method Summary
Modifier and TypeMethodDescriptionactivationStatus(String activationStatus) The activation status of the connector for your account:activationStatus(AgenticConnectorActivationStatus activationStatus) The activation status of the connector for your account:allowedTools(String... allowedTools) The connector tools the agent can use.allowedTools(Collection<String> allowedTools) The connector tools the agent can use.apiKeySecretArn(String apiKeySecretArn) The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the API key, whenAuthTypeisAPI_KEY.The arguments passed to a local connector's command.args(Collection<String> args) The arguments passed to a local connector's command.How the connector authenticates:authType(AgenticConnectorAuthType authType) How the connector authenticates:blockedTools(String... blockedTools) The connector tools the agent can't use.blockedTools(Collection<String> blockedTools) The connector tools the agent can't use.The command that starts a local connector's server.The creation time of the connector.description(String description) The description of the connector.The identifier of the connector.The name of the connector.default AgenticConnector.BuilderoAuthConfig(Consumer<AgenticConnectorOAuthConfig.Builder> oAuthConfig) The OAuth settings, whenAuthTypeisOAUTH.oAuthConfig(AgenticConnectorOAuthConfig oAuthConfig) The OAuth settings, whenAuthTypeisOAUTH.serverType(String serverType) Where the connector's server runs:serverType(AgenticConnectorServerType serverType) Where the connector's server runs:The time when the connector's activation status last changed for your account.The URL of a hosted connector's server.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
-
id
The identifier of the connector.
- Parameters:
id- The identifier of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connector.
- Parameters:
name- The name of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the connector.
- Parameters:
description- The description of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverType
Where the connector's server runs:
-
HOSTED– The server is accessed through a URL. -
LOCAL– The server runs on the WorkSpace.
- Parameters:
serverType- Where the connector's server runs:-
HOSTED– The server is accessed through a URL. -
LOCAL– The server runs on the WorkSpace.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
serverType
Where the connector's server runs:
-
HOSTED– The server is accessed through a URL. -
LOCAL– The server runs on the WorkSpace.
- Parameters:
serverType- Where the connector's server runs:-
HOSTED– The server is accessed through a URL. -
LOCAL– The server runs on the WorkSpace.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
url
The URL of a hosted connector's server.
- Parameters:
url- The URL of a hosted connector's server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
The command that starts a local connector's server.
- Parameters:
command- The command that starts a local connector's server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
The arguments passed to a local connector's command.
- Parameters:
args- The arguments passed to a local connector's command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
The arguments passed to a local connector's command.
- Parameters:
args- The arguments passed to a local connector's command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authType
How the connector authenticates:
-
OAUTH– The connector uses OAuth. -
API_KEY– The connector uses an API key. -
NONE– The connector doesn't require authentication.
- Parameters:
authType- How the connector authenticates:-
OAUTH– The connector uses OAuth. -
API_KEY– The connector uses an API key. -
NONE– The connector doesn't require authentication.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
authType
How the connector authenticates:
-
OAUTH– The connector uses OAuth. -
API_KEY– The connector uses an API key. -
NONE– The connector doesn't require authentication.
- Parameters:
authType- How the connector authenticates:-
OAUTH– The connector uses OAuth. -
API_KEY– The connector uses an API key. -
NONE– The connector doesn't require authentication.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
oAuthConfig
The OAuth settings, when
AuthTypeisOAUTH.- Parameters:
oAuthConfig- The OAuth settings, whenAuthTypeisOAUTH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthConfig
default AgenticConnector.Builder oAuthConfig(Consumer<AgenticConnectorOAuthConfig.Builder> oAuthConfig) The OAuth settings, when
This is a convenience method that creates an instance of theAuthTypeisOAUTH.AgenticConnectorOAuthConfig.Builderavoiding the need to create one manually viaAgenticConnectorOAuthConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuthConfig(AgenticConnectorOAuthConfig).- Parameters:
oAuthConfig- a consumer that will call methods onAgenticConnectorOAuthConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKeySecretArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the API key, when
AuthTypeisAPI_KEY. This field is absent whenAuthTypeisn'tAPI_KEY.- Parameters:
apiKeySecretArn- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the API key, whenAuthTypeisAPI_KEY. This field is absent whenAuthTypeisn'tAPI_KEY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedTools
The connector tools the agent can use. If absent, all tools not in
BlockedToolsare allowed.- Parameters:
allowedTools- The connector tools the agent can use. If absent, all tools not inBlockedToolsare allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedTools
The connector tools the agent can use. If absent, all tools not in
BlockedToolsare allowed.- Parameters:
allowedTools- The connector tools the agent can use. If absent, all tools not inBlockedToolsare allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockedTools
The connector tools the agent can't use.
- Parameters:
blockedTools- The connector tools the agent can't use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockedTools
The connector tools the agent can't use.
- Parameters:
blockedTools- The connector tools the agent can't use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The creation time of the connector. You might not see this field for every connector.
- Parameters:
createdAt- The creation time of the connector. You might not see this field for every connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the connector's activation status last changed for your account. Your account doesn't see this field for a connector it has never activated.
- Parameters:
updatedAt- The time when the connector's activation status last changed for your account. Your account doesn't see this field for a connector it has never activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activationStatus
The activation status of the connector for your account:
-
ACTIVATED– You activated the connector. -
DEACTIVATED– You deactivated the connector. -
PENDING– The service is activating the connector. -
PENDING_DELETE– The service is deactivating the connector. -
ACTIVATION_ERROR– The service couldn't activate the connector. -
DEACTIVATION_ERROR– The service couldn't deactivate the connector.
- Parameters:
activationStatus- The activation status of the connector for your account:-
ACTIVATED– You activated the connector. -
DEACTIVATED– You deactivated the connector. -
PENDING– The service is activating the connector. -
PENDING_DELETE– The service is deactivating the connector. -
ACTIVATION_ERROR– The service couldn't activate the connector. -
DEACTIVATION_ERROR– The service couldn't deactivate the connector.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
activationStatus
The activation status of the connector for your account:
-
ACTIVATED– You activated the connector. -
DEACTIVATED– You deactivated the connector. -
PENDING– The service is activating the connector. -
PENDING_DELETE– The service is deactivating the connector. -
ACTIVATION_ERROR– The service couldn't activate the connector. -
DEACTIVATION_ERROR– The service couldn't deactivate the connector.
- Parameters:
activationStatus- The activation status of the connector for your account:-
ACTIVATED– You activated the connector. -
DEACTIVATED– You deactivated the connector. -
PENDING– The service is activating the connector. -
PENDING_DELETE– The service is deactivating the connector. -
ACTIVATION_ERROR– The service couldn't activate the connector. -
DEACTIVATION_ERROR– The service couldn't deactivate the connector.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-