Interface AgentContextSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentContextSummary.Builder,,AgentContextSummary> SdkBuilder<AgentContextSummary.Builder,,AgentContextSummary> SdkPojo
- Enclosing class:
AgentContextSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe agent context's ARN.The date and time when the agent context was created.description(String description) A human-readable description.The agent context's opaque ID.The agent context's friendly name.The agent context's lifecycle status.status(AgentContextStatus status) The agent context's lifecycle status.When the resource last changed.default AgentContextSummary.BuilderworkforceSignInConfig(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.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 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 agent context's ARN.
- Parameters:
arn- The agent context's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The agent context's friendly name.
- Parameters:
name- The agent context's friendly name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description. Absent when none was set.
- Parameters:
description- A human-readable description. Absent when none 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.
-
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 AgentContextSummary.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:
-