Class UpdateAgentRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest
-
- software.amazon.awssdk.services.bedrockagent.model.UpdateAgentRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAgentRequest.Builder,UpdateAgentRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAgentRequest extends BedrockAgentRequest implements ToCopyableBuilder<UpdateAgentRequest.Builder,UpdateAgentRequest>
Update Agent Request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAgentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentId()Id generated at the server side when an Agent is createdStringagentName()Returns the value of the AgentName property for this object.StringagentResourceRoleArn()Returns the value of the AgentResourceRoleArn property for this object.static UpdateAgentRequest.Builderbuilder()StringcustomerEncryptionKeyArn()Returns the value of the CustomerEncryptionKeyArn property for this object.Stringdescription()Returns the value of the Description property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfoundationModel()Returns the value of the FoundationModel property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegeridleSessionTTLInSeconds()Returns the value of the IdleSessionTTLInSeconds property for this object.Stringinstruction()Returns the value of the Instruction property for this object.PromptOverrideConfigurationpromptOverrideConfiguration()Returns the value of the PromptOverrideConfiguration property for this object.List<SdkField<?>>sdkFields()static Class<? extends UpdateAgentRequest.Builder>serializableBuilderClass()UpdateAgentRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
agentId
public final String agentId()
Id generated at the server side when an Agent is created
- Returns:
- Id generated at the server side when an Agent is created
-
agentName
public final String agentName()
Returns the value of the AgentName property for this object.- Returns:
- The value of the AgentName property for this object.
-
instruction
public final String instruction()
Returns the value of the Instruction property for this object.- Returns:
- The value of the Instruction property for this object.
-
foundationModel
public final String foundationModel()
Returns the value of the FoundationModel property for this object.- Returns:
- The value of the FoundationModel property for this object.
-
description
public final String description()
Returns the value of the Description property for this object.- Returns:
- The value of the Description property for this object.
-
idleSessionTTLInSeconds
public final Integer idleSessionTTLInSeconds()
Returns the value of the IdleSessionTTLInSeconds property for this object.- Returns:
- The value of the IdleSessionTTLInSeconds property for this object.
-
agentResourceRoleArn
public final String agentResourceRoleArn()
Returns the value of the AgentResourceRoleArn property for this object.- Returns:
- The value of the AgentResourceRoleArn property for this object.
-
customerEncryptionKeyArn
public final String customerEncryptionKeyArn()
Returns the value of the CustomerEncryptionKeyArn property for this object.- Returns:
- The value of the CustomerEncryptionKeyArn property for this object.
-
promptOverrideConfiguration
public final PromptOverrideConfiguration promptOverrideConfiguration()
Returns the value of the PromptOverrideConfiguration property for this object.- Returns:
- The value of the PromptOverrideConfiguration property for this object.
-
toBuilder
public UpdateAgentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAgentRequest.Builder,UpdateAgentRequest>- Specified by:
toBuilderin classBedrockAgentRequest
-
builder
public static UpdateAgentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAgentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-