Interface TraceGenerationRecord.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TraceGenerationRecord.Builder,,TraceGenerationRecord> SdkBuilder<TraceGenerationRecord.Builder,,TraceGenerationRecord> SdkPojo
- Enclosing class:
TraceGenerationRecord
-
Method Summary
Modifier and TypeMethodDescriptiondefault TraceGenerationRecord.BuildergroundTruth(Consumer<GroundTruthConfig.Builder> groundTruth) The reference fields the generation copies into the examples.groundTruth(GroundTruthConfig groundTruth) The reference fields the generation copies into the examples.default TraceGenerationRecord.BuilderredactionConfiguration(Consumer<RedactionConfiguration.Builder> redactionConfiguration) The sensitive data the generation masks in the examples.redactionConfiguration(RedactionConfiguration redactionConfiguration) The sensitive data the generation masks in the examples.default TraceGenerationRecord.Buildersampling(Consumer<GenerationSamplingConfig.Builder> sampling) How many scenarios the generation produces.sampling(GenerationSamplingConfig sampling) How many scenarios the generation produces.default TraceGenerationRecord.Builderselection(Consumer<GenerationSelectionRecord.Builder> selection) How the generation chooses sessions.selection(GenerationSelectionRecord selection) How the generation chooses sessions.default TraceGenerationRecord.BuildersourceConfig(Consumer<TraceSourceConfig.Builder> sourceConfig) Where the generation reads sessions from, including the resolved time window.sourceConfig(TraceSourceConfig sourceConfig) Where the generation reads sessions from, including the resolved time window.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceConfig
Where the generation reads sessions from, including the resolved time window.
- Parameters:
sourceConfig- Where the generation reads sessions from, including the resolved time window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
default TraceGenerationRecord.Builder sourceConfig(Consumer<TraceSourceConfig.Builder> sourceConfig) Where the generation reads sessions from, including the resolved time window.
This is a convenience method that creates an instance of theTraceSourceConfig.Builderavoiding the need to create one manually viaTraceSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(TraceSourceConfig).- Parameters:
sourceConfig- a consumer that will call methods onTraceSourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selection
How the generation chooses sessions. Filters are returned as submitted, with the resolved maximum turn count. Session and trace IDs are returned as counts. If this is absent, the request had no selection.
- Parameters:
selection- How the generation chooses sessions. Filters are returned as submitted, with the resolved maximum turn count. Session and trace IDs are returned as counts. If this is absent, the request had no selection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selection
default TraceGenerationRecord.Builder selection(Consumer<GenerationSelectionRecord.Builder> selection) How the generation chooses sessions. Filters are returned as submitted, with the resolved maximum turn count. Session and trace IDs are returned as counts. If this is absent, the request had no selection.
This is a convenience method that creates an instance of theGenerationSelectionRecord.Builderavoiding the need to create one manually viaGenerationSelectionRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselection(GenerationSelectionRecord).- Parameters:
selection- a consumer that will call methods onGenerationSelectionRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sampling
How many scenarios the generation produces.
- Parameters:
sampling- How many scenarios the generation produces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampling
How many scenarios the generation produces.
This is a convenience method that creates an instance of theGenerationSamplingConfig.Builderavoiding the need to create one manually viaGenerationSamplingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosampling(GenerationSamplingConfig).- Parameters:
sampling- a consumer that will call methods onGenerationSamplingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groundTruth
The reference fields the generation copies into the examples. If the request didn't specify quality filters, the filters the generation applies are returned here.
- Parameters:
groundTruth- The reference fields the generation copies into the examples. If the request didn't specify quality filters, the filters the generation applies are returned here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundTruth
The reference fields the generation copies into the examples. If the request didn't specify quality filters, the filters the generation applies are returned here.
This is a convenience method that creates an instance of theGroundTruthConfig.Builderavoiding the need to create one manually viaGroundTruthConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroundTruth(GroundTruthConfig).- Parameters:
groundTruth- a consumer that will call methods onGroundTruthConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redactionConfiguration
The sensitive data the generation masks in the examples.
- Parameters:
redactionConfiguration- The sensitive data the generation masks in the examples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactionConfiguration
default TraceGenerationRecord.Builder redactionConfiguration(Consumer<RedactionConfiguration.Builder> redactionConfiguration) The sensitive data the generation masks in the examples.
This is a convenience method that creates an instance of theRedactionConfiguration.Builderavoiding the need to create one manually viaRedactionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toredactionConfiguration(RedactionConfiguration).- Parameters:
redactionConfiguration- a consumer that will call methods onRedactionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-