Interface AgentVersion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentVersion.Builder,AgentVersion>,SdkBuilder<AgentVersion.Builder,AgentVersion>,SdkPojo
- Enclosing class:
- AgentVersion
public static interface AgentVersion.Builder extends SdkPojo, CopyableBuilder<AgentVersion.Builder,AgentVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentVersion.BuilderagentArn(String agentArn)Sets the value of the AgentArn property for this object.AgentVersion.BuilderagentId(String agentId)Sets the value of the AgentId property for this object.AgentVersion.BuilderagentName(String agentName)Sets the value of the AgentName property for this object.AgentVersion.BuilderagentResourceRoleArn(String agentResourceRoleArn)Sets the value of the AgentResourceRoleArn property for this object.AgentVersion.BuilderagentStatus(String agentStatus)Sets the value of the AgentStatus property for this object.AgentVersion.BuilderagentStatus(AgentStatus agentStatus)Sets the value of the AgentStatus property for this object.AgentVersion.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.AgentVersion.BuildercustomerEncryptionKeyArn(String customerEncryptionKeyArn)Sets the value of the CustomerEncryptionKeyArn property for this object.AgentVersion.Builderdescription(String description)Sets the value of the Description property for this object.AgentVersion.BuilderfailureReasons(String... failureReasons)Sets the value of the FailureReasons property for this object.AgentVersion.BuilderfailureReasons(Collection<String> failureReasons)Sets the value of the FailureReasons property for this object.AgentVersion.BuilderfoundationModel(String foundationModel)Sets the value of the FoundationModel property for this object.AgentVersion.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)Sets the value of the IdleSessionTTLInSeconds property for this object.AgentVersion.Builderinstruction(String instruction)Sets the value of the Instruction property for this object.default AgentVersion.BuilderpromptOverrideConfiguration(Consumer<PromptOverrideConfiguration.Builder> promptOverrideConfiguration)Sets the value of the PromptOverrideConfiguration property for this object.AgentVersion.BuilderpromptOverrideConfiguration(PromptOverrideConfiguration promptOverrideConfiguration)Sets the value of the PromptOverrideConfiguration property for this object.AgentVersion.BuilderrecommendedActions(String... recommendedActions)Sets the value of the RecommendedActions property for this object.AgentVersion.BuilderrecommendedActions(Collection<String> recommendedActions)Sets the value of the RecommendedActions property for this object.AgentVersion.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.AgentVersion.Builderversion(String version)Sets the value of the Version 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
AgentVersion.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
AgentVersion.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
AgentVersion.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.
-
version
AgentVersion.Builder version(String version)
Sets the value of the Version property for this object.- Parameters:
version- The new value for the Version property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instruction
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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.
-
failureReasons
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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
AgentVersion.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 AgentVersion.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)
-
-