Interface TemplateSourceEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TemplateSourceEntity.Builder,
,TemplateSourceEntity> SdkBuilder<TemplateSourceEntity.Builder,
,TemplateSourceEntity> SdkPojo
- Enclosing class:
TemplateSourceEntity
public static interface TemplateSourceEntity.Builder
extends SdkPojo, CopyableBuilder<TemplateSourceEntity.Builder,TemplateSourceEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TemplateSourceEntity.Builder
sourceAnalysis
(Consumer<TemplateSourceAnalysis.Builder> sourceAnalysis) The source analysis, if it is based on an analysis.sourceAnalysis
(TemplateSourceAnalysis sourceAnalysis) The source analysis, if it is based on an analysis.default TemplateSourceEntity.Builder
sourceTemplate
(Consumer<TemplateSourceTemplate.Builder> sourceTemplate) The source template, if it is based on an template.sourceTemplate
(TemplateSourceTemplate sourceTemplate) The source template, if it is based on an template.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
-
sourceAnalysis
The source analysis, if it is based on an analysis.
- Parameters:
sourceAnalysis
- The source analysis, if it is based on an analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAnalysis
default TemplateSourceEntity.Builder sourceAnalysis(Consumer<TemplateSourceAnalysis.Builder> sourceAnalysis) The source analysis, if it is based on an analysis.
This is a convenience method that creates an instance of theTemplateSourceAnalysis.Builder
avoiding the need to create one manually viaTemplateSourceAnalysis.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceAnalysis(TemplateSourceAnalysis)
.- Parameters:
sourceAnalysis
- a consumer that will call methods onTemplateSourceAnalysis.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceTemplate
The source template, if it is based on an template.
- Parameters:
sourceTemplate
- The source template, if it is based on an template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTemplate
default TemplateSourceEntity.Builder sourceTemplate(Consumer<TemplateSourceTemplate.Builder> sourceTemplate) The source template, if it is based on an template.
This is a convenience method that creates an instance of theTemplateSourceTemplate.Builder
avoiding the need to create one manually viaTemplateSourceTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceTemplate(TemplateSourceTemplate)
.- Parameters:
sourceTemplate
- a consumer that will call methods onTemplateSourceTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-