Interface RepositoryAnalysis.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RepositoryAnalysis.Builder,
,RepositoryAnalysis> SdkBuilder<RepositoryAnalysis.Builder,
,RepositoryAnalysis> SdkPojo
- Enclosing class:
RepositoryAnalysis
public static interface RepositoryAnalysis.Builder
extends SdkPojo, CopyableBuilder<RepositoryAnalysis.Builder,RepositoryAnalysis>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RepositoryAnalysis.Builder
repositoryHead
(Consumer<RepositoryHeadSourceCodeType.Builder> repositoryHead) A SourceCodeType that specifies the tip of a branch in an associated repository.repositoryHead
(RepositoryHeadSourceCodeType repositoryHead) A SourceCodeType that specifies the tip of a branch in an associated repository.default RepositoryAnalysis.Builder
sourceCodeType
(Consumer<SourceCodeType.Builder> sourceCodeType) Sets the value of the SourceCodeType property for this object.sourceCodeType
(SourceCodeType sourceCodeType) Sets the value of the SourceCodeType property for this object.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
-
repositoryHead
A SourceCodeType that specifies the tip of a branch in an associated repository.
- Parameters:
repositoryHead
- A SourceCodeType that specifies the tip of a branch in an associated repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryHead
default RepositoryAnalysis.Builder repositoryHead(Consumer<RepositoryHeadSourceCodeType.Builder> repositoryHead) A SourceCodeType that specifies the tip of a branch in an associated repository.
This is a convenience method that creates an instance of theRepositoryHeadSourceCodeType.Builder
avoiding the need to create one manually viaRepositoryHeadSourceCodeType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepositoryHead(RepositoryHeadSourceCodeType)
.- Parameters:
repositoryHead
- a consumer that will call methods onRepositoryHeadSourceCodeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceCodeType
Sets the value of the SourceCodeType property for this object.- Parameters:
sourceCodeType
- The new value for the SourceCodeType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeType
Sets the value of the SourceCodeType property for this object. This is a convenience method that creates an instance of theSourceCodeType.Builder
avoiding the need to create one manually viaSourceCodeType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceCodeType(SourceCodeType)
.- Parameters:
sourceCodeType
- a consumer that will call methods onSourceCodeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-