Interface Agent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Agent.Builder,Agent>,SdkBuilder<Agent.Builder,Agent>,SdkPojo
- Enclosing class:
- Agent
public static interface Agent.Builder extends SdkPojo, CopyableBuilder<Agent.Builder,Agent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Agent.BuilderagentArn(String agentArn)Sets the value of the AgentArn property for this object.Agent.BuilderagentId(String agentId)Sets the value of the AgentId property for this object.Agent.BuilderagentName(String agentName)Sets the value of the AgentName property for this object.Agent.BuilderagentResourceRoleArn(String agentResourceRoleArn)Sets the value of the AgentResourceRoleArn property for this object.Agent.BuilderagentStatus(String agentStatus)Sets the value of the AgentStatus property for this object.Agent.BuilderagentStatus(AgentStatus agentStatus)Sets the value of the AgentStatus property for this object.Agent.BuilderagentVersion(String agentVersion)Sets the value of the AgentVersion property for this object.Agent.BuilderclientToken(String clientToken)Sets the value of the ClientToken property for this object.Agent.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.Agent.BuildercustomerEncryptionKeyArn(String customerEncryptionKeyArn)Sets the value of the CustomerEncryptionKeyArn property for this object.Agent.Builderdescription(String description)Sets the value of the Description property for this object.Agent.BuilderfailureReasons(String... failureReasons)Sets the value of the FailureReasons property for this object.Agent.BuilderfailureReasons(Collection<String> failureReasons)Sets the value of the FailureReasons property for this object.Agent.BuilderfoundationModel(String foundationModel)Sets the value of the FoundationModel property for this object.Agent.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)Sets the value of the IdleSessionTTLInSeconds property for this object.Agent.Builderinstruction(String instruction)Sets the value of the Instruction property for this object.Agent.BuilderpreparedAt(Instant preparedAt)Sets the value of the PreparedAt property for this object.default Agent.BuilderpromptOverrideConfiguration(Consumer<PromptOverrideConfiguration.Builder> promptOverrideConfiguration)Sets the value of the PromptOverrideConfiguration property for this object.Agent.BuilderpromptOverrideConfiguration(PromptOverrideConfiguration promptOverrideConfiguration)Sets the value of the PromptOverrideConfiguration property for this object.Agent.BuilderrecommendedActions(String... recommendedActions)Sets the value of the RecommendedActions property for this object.Agent.BuilderrecommendedActions(Collection<String> recommendedActions)Sets the value of the RecommendedActions property for this object.Agent.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.-
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
Agent.Builder agentId(String agentId)
Sets the value of the AgentId property for this object.- Parameters:
agentId- The new value for the AgentId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentName
Agent.Builder agentName(String agentName)
Sets the value of the AgentName property for this object.- Parameters:
agentName- The new value for the AgentName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArn
Agent.Builder agentArn(String agentArn)
Sets the value of the AgentArn property for this object.- Parameters:
agentArn- The new value for the AgentArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
Agent.Builder agentVersion(String agentVersion)
Sets the value of the AgentVersion property for this object.- Parameters:
agentVersion- The new value for the AgentVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Agent.Builder clientToken(String clientToken)
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instruction
Agent.Builder instruction(String instruction)
Sets the value of the Instruction property for this object.- Parameters:
instruction- The new value for the Instruction property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentStatus
Agent.Builder agentStatus(String agentStatus)
Sets the value of the AgentStatus property for this object.- Parameters:
agentStatus- The new value for the AgentStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AgentStatus,AgentStatus
-
agentStatus
Agent.Builder agentStatus(AgentStatus agentStatus)
Sets the value of the AgentStatus property for this object.- Parameters:
agentStatus- The new value for the AgentStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AgentStatus,AgentStatus
-
foundationModel
Agent.Builder foundationModel(String foundationModel)
Sets the value of the FoundationModel property for this object.- Parameters:
foundationModel- The new value for the FoundationModel property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Agent.Builder description(String description)
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idleSessionTTLInSeconds
Agent.Builder idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
Sets the value of the IdleSessionTTLInSeconds property for this object.- Parameters:
idleSessionTTLInSeconds- The new value for the IdleSessionTTLInSeconds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentResourceRoleArn
Agent.Builder agentResourceRoleArn(String agentResourceRoleArn)
Sets the value of the AgentResourceRoleArn property for this object.- Parameters:
agentResourceRoleArn- The new value for the AgentResourceRoleArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEncryptionKeyArn
Agent.Builder customerEncryptionKeyArn(String customerEncryptionKeyArn)
Sets the value of the CustomerEncryptionKeyArn property for this object.- Parameters:
customerEncryptionKeyArn- The new value for the CustomerEncryptionKeyArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Agent.Builder createdAt(Instant createdAt)
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Agent.Builder updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt- The new value for the UpdatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preparedAt
Agent.Builder preparedAt(Instant preparedAt)
Sets the value of the PreparedAt property for this object.- Parameters:
preparedAt- The new value for the PreparedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
Agent.Builder failureReasons(Collection<String> failureReasons)
Sets the value of the FailureReasons property for this object.- Parameters:
failureReasons- The new value for the FailureReasons property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
Agent.Builder failureReasons(String... failureReasons)
Sets the value of the FailureReasons property for this object.- Parameters:
failureReasons- The new value for the FailureReasons property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
Agent.Builder recommendedActions(Collection<String> recommendedActions)
Sets the value of the RecommendedActions property for this object.- Parameters:
recommendedActions- The new value for the RecommendedActions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
Agent.Builder recommendedActions(String... recommendedActions)
Sets the value of the RecommendedActions property for this object.- Parameters:
recommendedActions- The new value for the RecommendedActions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptOverrideConfiguration
Agent.Builder promptOverrideConfiguration(PromptOverrideConfiguration promptOverrideConfiguration)
Sets the value of the PromptOverrideConfiguration property for this object.- Parameters:
promptOverrideConfiguration- The new value for the PromptOverrideConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptOverrideConfiguration
default Agent.Builder promptOverrideConfiguration(Consumer<PromptOverrideConfiguration.Builder> promptOverrideConfiguration)
Sets the value of the PromptOverrideConfiguration property for this object. This is a convenience method that creates an instance of thePromptOverrideConfiguration.Builderavoiding the need to create one manually viaPromptOverrideConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topromptOverrideConfiguration(PromptOverrideConfiguration).- Parameters:
promptOverrideConfiguration- a consumer that will call methods onPromptOverrideConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
promptOverrideConfiguration(PromptOverrideConfiguration)
-
-