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.Builderartifacts(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
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
-
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.Builderavoiding the need to create one manually viaAnalysisTemplateArtifacts.builder().When the
Consumercompletes,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:
-