Interface RepositoryAnalysis.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RepositoryAnalysis.Builder,,- RepositoryAnalysis> - SdkBuilder<RepositoryAnalysis.Builder,,- RepositoryAnalysis> - SdkPojo
- Enclosing class:
- RepositoryAnalysis
@Mutable
@NotThreadSafe
public static interface RepositoryAnalysis.Builder
extends SdkPojo, CopyableBuilder<RepositoryAnalysis.Builder,RepositoryAnalysis> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault RepositoryAnalysis.BuilderrepositoryHead(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.BuildersourceCodeType(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
repositoryHeadA 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.
 
- 
repositoryHeaddefault 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.Builderavoiding the need to create one manually viaRepositoryHeadSourceCodeType.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositoryHead(RepositoryHeadSourceCodeType).- Parameters:
- repositoryHead- a consumer that will call methods on- RepositoryHeadSourceCodeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sourceCodeTypeSets 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.
 
- 
sourceCodeTypeSets the value of the SourceCodeType property for this object. This is a convenience method that creates an instance of theSourceCodeType.Builderavoiding the need to create one manually viaSourceCodeType.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceCodeType(SourceCodeType).- Parameters:
- sourceCodeType- a consumer that will call methods on- SourceCodeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-