Interface AgentVersionSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentVersionSummary.Builder,AgentVersionSummary>,SdkBuilder<AgentVersionSummary.Builder,AgentVersionSummary>,SdkPojo
- Enclosing class:
- AgentVersionSummary
public static interface AgentVersionSummary.Builder extends SdkPojo, CopyableBuilder<AgentVersionSummary.Builder,AgentVersionSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentVersionSummary.BuilderagentName(String agentName)The name of the agent to which the version belongs.AgentVersionSummary.BuilderagentStatus(String agentStatus)The status of the agent to which the version belongs.AgentVersionSummary.BuilderagentStatus(AgentStatus agentStatus)The status of the agent to which the version belongs.AgentVersionSummary.BuilderagentVersion(String agentVersion)The version of the agent.AgentVersionSummary.BuildercreatedAt(Instant createdAt)The time at which the version was created.AgentVersionSummary.Builderdescription(String description)The description of the version of the agent.default AgentVersionSummary.BuilderguardrailConfiguration(Consumer<GuardrailConfiguration.Builder> guardrailConfiguration)Details about the guardrail associated with the agent.AgentVersionSummary.BuilderguardrailConfiguration(GuardrailConfiguration guardrailConfiguration)Details about the guardrail associated with the agent.AgentVersionSummary.BuilderupdatedAt(Instant updatedAt)The time at which the version 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
-
agentName
AgentVersionSummary.Builder agentName(String agentName)
The name of the agent to which the version belongs.
- Parameters:
agentName- The name of the agent to which the version belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatus
AgentVersionSummary.Builder agentStatus(String agentStatus)
The status of the agent to which the version belongs.
- Parameters:
agentStatus- The status of the agent to which the version belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AgentStatus,AgentStatus
-
agentStatus
AgentVersionSummary.Builder agentStatus(AgentStatus agentStatus)
The status of the agent to which the version belongs.
- Parameters:
agentStatus- The status of the agent to which the version belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AgentStatus,AgentStatus
-
agentVersion
AgentVersionSummary.Builder agentVersion(String agentVersion)
The version of the agent.
- Parameters:
agentVersion- The version of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
AgentVersionSummary.Builder createdAt(Instant createdAt)
The time at which the version was created.
- Parameters:
createdAt- The time at which the version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AgentVersionSummary.Builder description(String description)
The description of the version of the agent.
- Parameters:
description- The description of the version of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailConfiguration
AgentVersionSummary.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 AgentVersionSummary.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)
-
updatedAt
AgentVersionSummary.Builder updatedAt(Instant updatedAt)
The time at which the version was last updated.
- Parameters:
updatedAt- The time at which the version was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-