Class AnalyzePromptEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.AnalyzePromptEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,AnalyzePromptEvent.Builder,Buildable,CopyableBuilder<AnalyzePromptEvent.Builder,AnalyzePromptEvent>,SdkBuilder<AnalyzePromptEvent.Builder,AnalyzePromptEvent>
- Enclosing class:
- AnalyzePromptEvent
protected static class AnalyzePromptEvent.BuilderImpl extends Object implements AnalyzePromptEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(AnalyzePromptEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalyzePromptEventbuild()StringgetMessage()AnalyzePromptEvent.Buildermessage(String message)A message describing the analysis of the prompt.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()voidsetMessage(String message)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(AnalyzePromptEvent model)
-
-
Method Detail
-
getMessage
public final String getMessage()
-
setMessage
public final void setMessage(String message)
-
message
public final AnalyzePromptEvent.Builder message(String message)
Description copied from interface:AnalyzePromptEvent.BuilderA message describing the analysis of the prompt.
- Specified by:
messagein interfaceAnalyzePromptEvent.Builder- Parameters:
message- A message describing the analysis of the prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
public AnalyzePromptEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<AnalyzePromptEvent.Builder,AnalyzePromptEvent>
-
sdkFieldNameToField
public Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-