Interface AnalysisSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalysisSource.Builder,
,AnalysisSource> SdkBuilder<AnalysisSource.Builder,
,AnalysisSource> SdkPojo
- Enclosing class:
AnalysisSource
@Mutable
@NotThreadSafe
public static interface AnalysisSource.Builder
extends SdkPojo, CopyableBuilder<AnalysisSource.Builder,AnalysisSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnalysisSource.Builder
artifacts
(Consumer<AnalysisTemplateArtifacts.Builder> artifacts) The artifacts of the analysis source.artifacts
(AnalysisTemplateArtifacts artifacts) The artifacts of the analysis source.The query text.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
text
The query text.
- Parameters:
text
- The query text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
The artifacts of the analysis source.
- Parameters:
artifacts
- The artifacts of the analysis source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
The artifacts of the analysis source.
This is a convenience method that creates an instance of theAnalysisTemplateArtifacts.Builder
avoiding the need to create one manually viaAnalysisTemplateArtifacts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifacts(AnalysisTemplateArtifacts)
.- Parameters:
artifacts
- a consumer that will call methods onAnalysisTemplateArtifacts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-