Interface CreateAgentContextResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<CreateAgentContextResponse.Builder,,CreateAgentContextResponse> SdkBuilder<CreateAgentContextResponse.Builder,,CreateAgentContextResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAgentContextResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the agent context, in the formarn:<partition>:context:<region>:<account-id>:agent-context/<id>.connectionMappings(Collection<ConnectionMapping> connectionMappings) The agent context's connection mappings.connectionMappings(Consumer<ConnectionMapping.Builder>... connectionMappings) The agent context's connection mappings.connectionMappings(ConnectionMapping... connectionMappings) The agent context's connection mappings.The date and time when the agent context was created.description(String description) A human-readable description, if one was set.encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) The agent context's encryption settings.encryptionConfig(EncryptionConfig encryptionConfig) The agent context's encryption settings.entityResolutionConfig(Consumer<EntityResolutionConfig.Builder> entityResolutionConfig) The agent context's entity resolution settings.entityResolutionConfig(EntityResolutionConfig entityResolutionConfig) The agent context's entity resolution settings.The agent context's opaque ID.mcpServerUrl(String mcpServerUrl) The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in isENABLED.The name of the agent context.The agent context's lifecycle status.status(AgentContextStatus status) The agent context's lifecycle status.traceAnalysisConfig(Consumer<TraceAnalysisConfig.Builder> traceAnalysisConfig) The agent context's trace analysis settings.traceAnalysisConfig(TraceAnalysisConfig traceAnalysisConfig) The agent context's trace analysis settings.trustedIdentitySources(Collection<TrustedIdentitySource> trustedIdentitySources) Identity sources this agent context trusts in addition to its owner's account.trustedIdentitySources(Consumer<TrustedIdentitySource.Builder>... trustedIdentitySources) Identity sources this agent context trusts in addition to its owner's account.trustedIdentitySources(TrustedIdentitySource... trustedIdentitySources) Identity sources this agent context trusts in addition to its owner's account.When the resource last changed.workforceSignInConfig(Consumer<WorkforceSignInConfig.Builder> workforceSignInConfig) How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in).workforceSignInConfig(WorkforceSignInConfig workforceSignInConfig) How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in).Methods inherited from interface software.amazon.awssdk.services.context.model.ContextResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The agent context's opaque ID.
- Parameters:
id- The agent context's opaque ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the agent context, in the form
arn:<partition>:context:<region>:<account-id>:agent-context/<id>.- Parameters:
arn- The ARN of the agent context, in the formarn:<partition>:context:<region>:<account-id>:agent-context/<id>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the agent context. If you didn't specify a name when you created it, the name is
default.- Parameters:
name- The name of the agent context. If you didn't specify a name when you created it, the name isdefault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description, if one was set.
- Parameters:
description- A human-readable description, if one was set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The agent context's lifecycle status.
Valid values:
-
CREATING- The agent context is being created. -
ACTIVE- The agent context is ready to use. -
UPDATING- The agent context is being updated. -
DELETING- The agent context is being deleted. -
FAILED- The agent context failed.
- Parameters:
status- The agent context's lifecycle status.Valid values:
-
CREATING- The agent context is being created. -
ACTIVE- The agent context is ready to use. -
UPDATING- The agent context is being updated. -
DELETING- The agent context is being deleted. -
FAILED- The agent context failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The agent context's lifecycle status.
Valid values:
-
CREATING- The agent context is being created. -
ACTIVE- The agent context is ready to use. -
UPDATING- The agent context is being updated. -
DELETING- The agent context is being deleted. -
FAILED- The agent context failed.
- Parameters:
status- The agent context's lifecycle status.Valid values:
-
CREATING- The agent context is being created. -
ACTIVE- The agent context is ready to use. -
UPDATING- The agent context is being updated. -
DELETING- The agent context is being deleted. -
FAILED- The agent context failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
createdAt
The date and time when the agent context was created.
- Parameters:
createdAt- The date and time when the agent context was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
When the resource last changed. Equal to
createdAtuntil the first update.- Parameters:
updatedAt- When the resource last changed. Equal tocreatedAtuntil the first update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionMappings
CreateAgentContextResponse.Builder connectionMappings(Collection<ConnectionMapping> connectionMappings) The agent context's connection mappings.
- Parameters:
connectionMappings- The agent context's connection mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionMappings
The agent context's connection mappings.
- Parameters:
connectionMappings- The agent context's connection mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionMappings
CreateAgentContextResponse.Builder connectionMappings(Consumer<ConnectionMapping.Builder>... connectionMappings) The agent context's connection mappings.
This is a convenience method that creates an instance of theConnectionMapping.Builderavoiding the need to create one manually viaConnectionMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionMappings(List<ConnectionMapping>).- Parameters:
connectionMappings- a consumer that will call methods onConnectionMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfig
The agent context's encryption settings.
- Parameters:
encryptionConfig- The agent context's encryption settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default CreateAgentContextResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) The agent context's encryption settings.
This is a convenience method that creates an instance of theEncryptionConfig.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfig(EncryptionConfig).- Parameters:
encryptionConfig- a consumer that will call methods onEncryptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
traceAnalysisConfig
The agent context's trace analysis settings.
- Parameters:
traceAnalysisConfig- The agent context's trace analysis settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceAnalysisConfig
default CreateAgentContextResponse.Builder traceAnalysisConfig(Consumer<TraceAnalysisConfig.Builder> traceAnalysisConfig) The agent context's trace analysis settings.
This is a convenience method that creates an instance of theTraceAnalysisConfig.Builderavoiding the need to create one manually viaTraceAnalysisConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totraceAnalysisConfig(TraceAnalysisConfig).- Parameters:
traceAnalysisConfig- a consumer that will call methods onTraceAnalysisConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workforceSignInConfig
CreateAgentContextResponse.Builder workforceSignInConfig(WorkforceSignInConfig workforceSignInConfig) How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in).
statusreads ENABLED while a sign-in URL is stored, DISABLED otherwise.- Parameters:
workforceSignInConfig- How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in).statusreads ENABLED while a sign-in URL is stored, DISABLED otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workforceSignInConfig
default CreateAgentContextResponse.Builder workforceSignInConfig(Consumer<WorkforceSignInConfig.Builder> workforceSignInConfig) How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in).
This is a convenience method that creates an instance of thestatusreads ENABLED while a sign-in URL is stored, DISABLED otherwise.WorkforceSignInConfig.Builderavoiding the need to create one manually viaWorkforceSignInConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkforceSignInConfig(WorkforceSignInConfig).- Parameters:
workforceSignInConfig- a consumer that will call methods onWorkforceSignInConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityResolutionConfig
CreateAgentContextResponse.Builder entityResolutionConfig(EntityResolutionConfig entityResolutionConfig) The agent context's entity resolution settings. Populated on every response path that returns the resource.
- Parameters:
entityResolutionConfig- The agent context's entity resolution settings. Populated on every response path that returns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityResolutionConfig
default CreateAgentContextResponse.Builder entityResolutionConfig(Consumer<EntityResolutionConfig.Builder> entityResolutionConfig) The agent context's entity resolution settings. Populated on every response path that returns the resource.
This is a convenience method that creates an instance of theEntityResolutionConfig.Builderavoiding the need to create one manually viaEntityResolutionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityResolutionConfig(EntityResolutionConfig).- Parameters:
entityResolutionConfig- a consumer that will call methods onEntityResolutionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mcpServerUrl
The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in is
ENABLED. The URL is the agent context's MCP endpoint, withworkforceSignInConfig.signInUrlas itslogin_hintquery parameter and the ID that AWS Context assigns to that sign-in URL as itstenantIdquery parameter. Absent while workforce sign-in isDISABLED.- Parameters:
mcpServerUrl- The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in isENABLED. The URL is the agent context's MCP endpoint, withworkforceSignInConfig.signInUrlas itslogin_hintquery parameter and the ID that AWS Context assigns to that sign-in URL as itstenantIdquery parameter. Absent while workforce sign-in isDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustedIdentitySources
CreateAgentContextResponse.Builder trustedIdentitySources(Collection<TrustedIdentitySource> trustedIdentitySources) Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.
- Parameters:
trustedIdentitySources- Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustedIdentitySources
CreateAgentContextResponse.Builder trustedIdentitySources(TrustedIdentitySource... trustedIdentitySources) Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.
- Parameters:
trustedIdentitySources- Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustedIdentitySources
CreateAgentContextResponse.Builder trustedIdentitySources(Consumer<TrustedIdentitySource.Builder>... trustedIdentitySources) Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.
This is a convenience method that creates an instance of theTrustedIdentitySource.Builderavoiding the need to create one manually viaTrustedIdentitySource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustedIdentitySources(List<TrustedIdentitySource>).- Parameters:
trustedIdentitySources- a consumer that will call methods onTrustedIdentitySource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-