Interface InvocationLogsConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<InvocationLogsConfig.Builder,,- InvocationLogsConfig> - SdkBuilder<InvocationLogsConfig.Builder,,- InvocationLogsConfig> - SdkPojo
- Enclosing class:
- InvocationLogsConfig
@Mutable
@NotThreadSafe
public static interface InvocationLogsConfig.Builder
extends SdkPojo, CopyableBuilder<InvocationLogsConfig.Builder,InvocationLogsConfig> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault InvocationLogsConfig.BuilderinvocationLogSource(Consumer<InvocationLogSource.Builder> invocationLogSource) The source of the invocation logs.invocationLogSource(InvocationLogSource invocationLogSource) The source of the invocation logs.default InvocationLogsConfig.BuilderrequestMetadataFilters(Consumer<RequestMetadataFilters.Builder> requestMetadataFilters) Rules for filtering invocation logs based on request metadata.requestMetadataFilters(RequestMetadataFilters requestMetadataFilters) Rules for filtering invocation logs based on request metadata.usePromptResponse(Boolean usePromptResponse) Whether to use the model's response for training, or just the prompt.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
usePromptResponseWhether to use the model's response for training, or just the prompt. The default value is False.- Parameters:
- usePromptResponse- Whether to use the model's response for training, or just the prompt. The default value is- False.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
invocationLogSourceThe source of the invocation logs. - Parameters:
- invocationLogSource- The source of the invocation logs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
invocationLogSourcedefault InvocationLogsConfig.Builder invocationLogSource(Consumer<InvocationLogSource.Builder> invocationLogSource) The source of the invocation logs. This is a convenience method that creates an instance of theInvocationLogSource.Builderavoiding the need to create one manually viaInvocationLogSource.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvocationLogSource(InvocationLogSource).- Parameters:
- invocationLogSource- a consumer that will call methods on- InvocationLogSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
requestMetadataFiltersRules for filtering invocation logs based on request metadata. - Parameters:
- requestMetadataFilters- Rules for filtering invocation logs based on request metadata.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
requestMetadataFiltersdefault InvocationLogsConfig.Builder requestMetadataFilters(Consumer<RequestMetadataFilters.Builder> requestMetadataFilters) Rules for filtering invocation logs based on request metadata. This is a convenience method that creates an instance of theRequestMetadataFilters.Builderavoiding the need to create one manually viaRequestMetadataFilters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestMetadataFilters(RequestMetadataFilters).- Parameters:
- requestMetadataFilters- a consumer that will call methods on- RequestMetadataFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-