Interface AgentSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentSummary.Builder,AgentSummary>,SdkBuilder<AgentSummary.Builder,AgentSummary>,SdkPojo
- Enclosing class:
- AgentSummary
public static interface AgentSummary.Builder extends SdkPojo, CopyableBuilder<AgentSummary.Builder,AgentSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentSummary.BuilderagentId(String agentId)The unique identifier of the agent.AgentSummary.BuilderagentName(String agentName)The name of the agent.AgentSummary.BuilderagentStatus(String agentStatus)The status of the agent.AgentSummary.BuilderagentStatus(AgentStatus agentStatus)The status of the agent.AgentSummary.Builderdescription(String description)The description of the agent.default AgentSummary.BuilderguardrailConfiguration(Consumer<GuardrailConfiguration.Builder> guardrailConfiguration)Details about the guardrail associated with the agent.AgentSummary.BuilderguardrailConfiguration(GuardrailConfiguration guardrailConfiguration)Details about the guardrail associated with the agent.AgentSummary.BuilderlatestAgentVersion(String latestAgentVersion)The latest version of the agent.AgentSummary.BuilderupdatedAt(Instant updatedAt)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, sdkFields
-
-
-
-
Method Detail
-
agentId
AgentSummary.Builder agentId(String 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
AgentSummary.Builder agentName(String 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
AgentSummary.Builder agentStatus(String 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,AgentStatus
-
agentStatus
AgentSummary.Builder agentStatus(AgentStatus 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,AgentStatus
-
description
AgentSummary.Builder description(String 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
AgentSummary.Builder guardrailConfiguration(GuardrailConfiguration 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.Builderavoiding the need to create one manually viaGuardrailConfiguration.builder().When the
Consumercompletes,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:
guardrailConfiguration(GuardrailConfiguration)
-
latestAgentVersion
AgentSummary.Builder latestAgentVersion(String 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
AgentSummary.Builder updatedAt(Instant 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.
-
-