Interface AnalysisSourceEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalysisSourceEntity.Builder,
,AnalysisSourceEntity> SdkBuilder<AnalysisSourceEntity.Builder,
,AnalysisSourceEntity> SdkPojo
- Enclosing class:
AnalysisSourceEntity
public static interface AnalysisSourceEntity.Builder
extends SdkPojo, CopyableBuilder<AnalysisSourceEntity.Builder,AnalysisSourceEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnalysisSourceEntity.Builder
sourceTemplate
(Consumer<AnalysisSourceTemplate.Builder> sourceTemplate) The source template for the source entity of the analysis.sourceTemplate
(AnalysisSourceTemplate sourceTemplate) The source template for the source entity of the analysis.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, sdkFields
-
Method Details
-
sourceTemplate
The source template for the source entity of the analysis.
- Parameters:
sourceTemplate
- The source template for the source entity of the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTemplate
default AnalysisSourceEntity.Builder sourceTemplate(Consumer<AnalysisSourceTemplate.Builder> sourceTemplate) The source template for the source entity of the analysis.
This is a convenience method that creates an instance of theAnalysisSourceTemplate.Builder
avoiding the need to create one manually viaAnalysisSourceTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceTemplate(AnalysisSourceTemplate)
.- Parameters:
sourceTemplate
- a consumer that will call methods onAnalysisSourceTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-