Interface AgentVersionSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentVersionSummary.Builder,
,AgentVersionSummary> SdkBuilder<AgentVersionSummary.Builder,
,AgentVersionSummary> SdkPojo
- Enclosing class:
AgentVersionSummary
@Mutable
@NotThreadSafe
public static interface AgentVersionSummary.Builder
extends SdkPojo, CopyableBuilder<AgentVersionSummary.Builder,AgentVersionSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the agent to which the version belongs.agentStatus
(String agentStatus) The status of the agent to which the version belongs.agentStatus
(AgentStatus agentStatus) The status of the agent to which the version belongs.agentVersion
(String agentVersion) The version of the agent.The time at which the version was created.description
(String description) The description of the version of the agent.default AgentVersionSummary.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.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-
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
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
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
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.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:
-
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.
-