Interface UpdateAgentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateAgentRequest.Builder,UpdateAgentRequest>,SdkBuilder<UpdateAgentRequest.Builder,UpdateAgentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAgentRequest
public static interface UpdateAgentRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateAgentRequest.Builder,UpdateAgentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateAgentRequest.BuilderagentId(String agentId)Id generated at the server side when an Agent is createdUpdateAgentRequest.BuilderagentName(String agentName)Sets the value of the AgentName property for this object.UpdateAgentRequest.BuilderagentResourceRoleArn(String agentResourceRoleArn)Sets the value of the AgentResourceRoleArn property for this object.UpdateAgentRequest.BuildercustomerEncryptionKeyArn(String customerEncryptionKeyArn)Sets the value of the CustomerEncryptionKeyArn property for this object.UpdateAgentRequest.Builderdescription(String description)Sets the value of the Description property for this object.UpdateAgentRequest.BuilderfoundationModel(String foundationModel)Sets the value of the FoundationModel property for this object.UpdateAgentRequest.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)Sets the value of the IdleSessionTTLInSeconds property for this object.UpdateAgentRequest.Builderinstruction(String instruction)Sets the value of the Instruction property for this object.UpdateAgentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAgentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateAgentRequest.BuilderpromptOverrideConfiguration(Consumer<PromptOverrideConfiguration.Builder> promptOverrideConfiguration)Sets the value of the PromptOverrideConfiguration property for this object.UpdateAgentRequest.BuilderpromptOverrideConfiguration(PromptOverrideConfiguration promptOverrideConfiguration)Sets the value of the PromptOverrideConfiguration property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
build
-
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
UpdateAgentRequest.Builder agentId(String agentId)
Id generated at the server side when an Agent is created
- Parameters:
agentId- Id generated at the server side when an Agent is created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentName
UpdateAgentRequest.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.
-
instruction
UpdateAgentRequest.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.
-
foundationModel
UpdateAgentRequest.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
UpdateAgentRequest.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
UpdateAgentRequest.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
UpdateAgentRequest.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
UpdateAgentRequest.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.
-
promptOverrideConfiguration
UpdateAgentRequest.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 UpdateAgentRequest.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)
-
overrideConfiguration
UpdateAgentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAgentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-