Class PromptAgentResource
java.lang.Object
software.amazon.awssdk.services.bedrockagent.model.PromptAgentResource
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PromptAgentResource.Builder,PromptAgentResource>
@Generated("software.amazon.awssdk:codegen")
public final class PromptAgentResource
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<PromptAgentResource.Builder,PromptAgentResource>
Contains specifications for an Amazon Bedrock agent with which to use the prompt. For more information, see Create a prompt using Prompt management and Automate tasks in your application using conversational agents.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe ARN of the agent with which to use the prompt.static PromptAgentResource.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends PromptAgentResource.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
agentIdentifier
The ARN of the agent with which to use the prompt.
- Returns:
- The ARN of the agent with which to use the prompt.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PromptAgentResource.Builder,PromptAgentResource>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-