Interface AgentSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentSummary.Builder,
,AgentSummary> SdkBuilder<AgentSummary.Builder,
,AgentSummary> SdkPojo
- Enclosing class:
AgentSummary
@Mutable
@NotThreadSafe
public static interface AgentSummary.Builder
extends SdkPojo, CopyableBuilder<AgentSummary.Builder,AgentSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the agent.The name of the agent.agentStatus
(String agentStatus) The status of the agent.agentStatus
(AgentStatus agentStatus) The status of the agent.description
(String description) The description of the agent.default AgentSummary.Builder
guardrailConfiguration
(Consumer<GuardrailConfiguration.Builder> guardrailConfiguration) Details about the guardrail associated with the agent.guardrailConfiguration
(GuardrailConfiguration guardrailConfiguration) Details about the guardrail associated with the agent.latestAgentVersion
(String latestAgentVersion) The latest version of the agent.The time at which the agent was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentId
The unique identifier of the agent.
- Parameters:
agentId
- The unique identifier of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentName
The name of the agent.
- Parameters:
agentName
- The name of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatus
The status of the agent.
- Parameters:
agentStatus
- The status of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentStatus
The status of the agent.
- Parameters:
agentStatus
- The status of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the agent.
- Parameters:
description
- The description of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailConfiguration
Details about the guardrail associated with the agent.
- Parameters:
guardrailConfiguration
- Details about the guardrail associated with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailConfiguration
default AgentSummary.Builder guardrailConfiguration(Consumer<GuardrailConfiguration.Builder> guardrailConfiguration) Details about the guardrail associated with the agent.
This is a convenience method that creates an instance of theGuardrailConfiguration.Builder
avoiding the need to create one manually viaGuardrailConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toguardrailConfiguration(GuardrailConfiguration)
.- Parameters:
guardrailConfiguration
- a consumer that will call methods onGuardrailConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestAgentVersion
The latest version of the agent.
- Parameters:
latestAgentVersion
- The latest version of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time at which the agent was last updated.
- Parameters:
updatedAt
- The time at which the agent was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-