Interface AnalysisSourceMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisSourceMetadata.Builder,,AnalysisSourceMetadata> SdkBuilder<AnalysisSourceMetadata.Builder,,AnalysisSourceMetadata> SdkPojo
- Enclosing class:
AnalysisSourceMetadata
@Mutable
@NotThreadSafe
public static interface AnalysisSourceMetadata.Builder
extends SdkPojo, CopyableBuilder<AnalysisSourceMetadata.Builder,AnalysisSourceMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnalysisSourceMetadata.BuilderThe artifacts of the analysis source metadata.artifacts(AnalysisTemplateArtifactMetadata artifacts) The artifacts of the analysis source metadata.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
-
artifacts
The artifacts of the analysis source metadata.
- Parameters:
artifacts- The artifacts of the analysis source metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
default AnalysisSourceMetadata.Builder artifacts(Consumer<AnalysisTemplateArtifactMetadata.Builder> artifacts) The artifacts of the analysis source metadata.
This is a convenience method that creates an instance of theAnalysisTemplateArtifactMetadata.Builderavoiding the need to create one manually viaAnalysisTemplateArtifactMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toartifacts(AnalysisTemplateArtifactMetadata).- Parameters:
artifacts- a consumer that will call methods onAnalysisTemplateArtifactMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-