Class UpdateAgentKnowledgeBaseRequest
- 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.UpdateAgentKnowledgeBaseRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAgentKnowledgeBaseRequest extends BedrockAgentRequest implements ToCopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest>
Update Agent Knowledge Base Request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAgentKnowledgeBaseRequest.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 createdStringagentVersion()Draft Version of the Agent.static UpdateAgentKnowledgeBaseRequest.Builderbuilder()Stringdescription()Returns the value of the Description property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringknowledgeBaseId()Id generated at the server side when a Knowledge Base is associated to an AgentKnowledgeBaseStateknowledgeBaseState()Returns the value of the KnowledgeBaseState property for this object.StringknowledgeBaseStateAsString()Returns the value of the KnowledgeBaseState property for this object.List<SdkField<?>>sdkFields()static Class<? extends UpdateAgentKnowledgeBaseRequest.Builder>serializableBuilderClass()UpdateAgentKnowledgeBaseRequest.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
-
agentVersion
public final String agentVersion()
Draft Version of the Agent.
- Returns:
- Draft Version of the Agent.
-
knowledgeBaseId
public final String knowledgeBaseId()
Id generated at the server side when a Knowledge Base is associated to an Agent
- Returns:
- Id generated at the server side when a Knowledge Base is associated to an Agent
-
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.
-
knowledgeBaseState
public final KnowledgeBaseState knowledgeBaseState()
Returns the value of the KnowledgeBaseState property for this object.If the service returns an enum value that is not available in the current SDK version,
knowledgeBaseStatewill returnKnowledgeBaseState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromknowledgeBaseStateAsString().- Returns:
- The value of the KnowledgeBaseState property for this object.
- See Also:
KnowledgeBaseState
-
knowledgeBaseStateAsString
public final String knowledgeBaseStateAsString()
Returns the value of the KnowledgeBaseState property for this object.If the service returns an enum value that is not available in the current SDK version,
knowledgeBaseStatewill returnKnowledgeBaseState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromknowledgeBaseStateAsString().- Returns:
- The value of the KnowledgeBaseState property for this object.
- See Also:
KnowledgeBaseState
-
toBuilder
public UpdateAgentKnowledgeBaseRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest>- Specified by:
toBuilderin classBedrockAgentRequest
-
builder
public static UpdateAgentKnowledgeBaseRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAgentKnowledgeBaseRequest.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
-
-