Interface ApplicationComponentDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail>,SdkBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail>,SdkPojo
- Enclosing class:
- ApplicationComponentDetail
public static interface ApplicationComponentDetail.Builder extends SdkPojo, CopyableBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ApplicationComponentDetail.BuilderanalysisStatus(String analysisStatus)The status of analysis, if the application component has source code or an associated database.ApplicationComponentDetail.BuilderanalysisStatus(SrcCodeOrDbAnalysisStatus analysisStatus)The status of analysis, if the application component has source code or an associated database.default ApplicationComponentDetail.BuilderantipatternReportS3Object(Consumer<S3Object.Builder> antipatternReportS3Object)The S3 bucket name and the Amazon S3 key name for the anti-pattern report.ApplicationComponentDetail.BuilderantipatternReportS3Object(S3Object antipatternReportS3Object)The S3 bucket name and the Amazon S3 key name for the anti-pattern report.ApplicationComponentDetail.BuilderantipatternReportStatus(String antipatternReportStatus)The status of the anti-pattern report generation.ApplicationComponentDetail.BuilderantipatternReportStatus(AntipatternReportStatus antipatternReportStatus)The status of the anti-pattern report generation.ApplicationComponentDetail.BuilderantipatternReportStatusMessage(String antipatternReportStatusMessage)The status message for the anti-pattern.ApplicationComponentDetail.BuilderappType(String appType)The type of application component.ApplicationComponentDetail.BuilderappType(AppType appType)The type of application component.default ApplicationComponentDetail.BuilderappUnitError(Consumer<AppUnitError.Builder> appUnitError)The error in the analysis of the source code or database.ApplicationComponentDetail.BuilderappUnitError(AppUnitError appUnitError)The error in the analysis of the source code or database.ApplicationComponentDetail.BuilderassociatedServerId(String associatedServerId)The ID of the server that the application component is running on.default ApplicationComponentDetail.BuilderdatabaseConfigDetail(Consumer<DatabaseConfigDetail.Builder> databaseConfigDetail)Configuration details for the database associated with the application component.ApplicationComponentDetail.BuilderdatabaseConfigDetail(DatabaseConfigDetail databaseConfigDetail)Configuration details for the database associated with the application component.ApplicationComponentDetail.Builderid(String id)The ID of the application component.ApplicationComponentDetail.BuilderinclusionStatus(String inclusionStatus)Indicates whether the application component has been included for server recommendation or not.ApplicationComponentDetail.BuilderinclusionStatus(InclusionStatus inclusionStatus)Indicates whether the application component has been included for server recommendation or not.ApplicationComponentDetail.BuilderlastAnalyzedTimestamp(Instant lastAnalyzedTimestamp)The timestamp of when the application component was assessed.ApplicationComponentDetail.BuilderlistAntipatternSeveritySummary(Collection<AntipatternSeveritySummary> listAntipatternSeveritySummary)A list of anti-pattern severity summaries.ApplicationComponentDetail.BuilderlistAntipatternSeveritySummary(Consumer<AntipatternSeveritySummary.Builder>... listAntipatternSeveritySummary)A list of anti-pattern severity summaries.ApplicationComponentDetail.BuilderlistAntipatternSeveritySummary(AntipatternSeveritySummary... listAntipatternSeveritySummary)A list of anti-pattern severity summaries.ApplicationComponentDetail.BuildermoreServerAssociationExists(Boolean moreServerAssociationExists)Set to true if the application component is running on multiple servers.ApplicationComponentDetail.Buildername(String name)The name of application component.ApplicationComponentDetail.BuilderosDriver(String osDriver)OS driver.ApplicationComponentDetail.BuilderosVersion(String osVersion)OS version.default ApplicationComponentDetail.BuilderrecommendationSet(Consumer<RecommendationSet.Builder> recommendationSet)The top recommendation set for the application component.ApplicationComponentDetail.BuilderrecommendationSet(RecommendationSet recommendationSet)The top recommendation set for the application component.ApplicationComponentDetail.BuilderresourceSubType(String resourceSubType)The application component subtype.ApplicationComponentDetail.BuilderresourceSubType(ResourceSubType resourceSubType)The application component subtype.ApplicationComponentDetail.BuilderresultList(Collection<Result> resultList)A list of the analysis results.ApplicationComponentDetail.BuilderresultList(Consumer<Result.Builder>... resultList)A list of the analysis results.ApplicationComponentDetail.BuilderresultList(Result... resultList)A list of the analysis results.ApplicationComponentDetail.BuilderruntimeStatus(String runtimeStatus)The status of the application unit.ApplicationComponentDetail.BuilderruntimeStatus(RuntimeAnalysisStatus runtimeStatus)The status of the application unit.ApplicationComponentDetail.BuilderruntimeStatusMessage(String runtimeStatusMessage)The status message for the application unit.ApplicationComponentDetail.BuildersourceCodeRepositories(Collection<SourceCodeRepository> sourceCodeRepositories)Details about the source code repository associated with the application component.ApplicationComponentDetail.BuildersourceCodeRepositories(Consumer<SourceCodeRepository.Builder>... sourceCodeRepositories)Details about the source code repository associated with the application component.ApplicationComponentDetail.BuildersourceCodeRepositories(SourceCodeRepository... sourceCodeRepositories)Details about the source code repository associated with the application component.ApplicationComponentDetail.BuilderstatusMessage(String statusMessage)A detailed description of the analysis status and any failure message.-
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 Detail
-
analysisStatus
ApplicationComponentDetail.Builder analysisStatus(String analysisStatus)
The status of analysis, if the application component has source code or an associated database.
- Parameters:
analysisStatus- The status of analysis, if the application component has source code or an associated database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SrcCodeOrDbAnalysisStatus,SrcCodeOrDbAnalysisStatus
-
analysisStatus
ApplicationComponentDetail.Builder analysisStatus(SrcCodeOrDbAnalysisStatus analysisStatus)
The status of analysis, if the application component has source code or an associated database.
- Parameters:
analysisStatus- The status of analysis, if the application component has source code or an associated database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SrcCodeOrDbAnalysisStatus,SrcCodeOrDbAnalysisStatus
-
antipatternReportS3Object
ApplicationComponentDetail.Builder antipatternReportS3Object(S3Object antipatternReportS3Object)
The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
- Parameters:
antipatternReportS3Object- The S3 bucket name and the Amazon S3 key name for the anti-pattern report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
antipatternReportS3Object
default ApplicationComponentDetail.Builder antipatternReportS3Object(Consumer<S3Object.Builder> antipatternReportS3Object)
The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
This is a convenience method that creates an instance of theS3Object.Builderavoiding the need to create one manually viaS3Object.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toantipatternReportS3Object(S3Object).- Parameters:
antipatternReportS3Object- a consumer that will call methods onS3Object.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
antipatternReportS3Object(S3Object)
-
antipatternReportStatus
ApplicationComponentDetail.Builder antipatternReportStatus(String antipatternReportStatus)
The status of the anti-pattern report generation.
- Parameters:
antipatternReportStatus- The status of the anti-pattern report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AntipatternReportStatus,AntipatternReportStatus
-
antipatternReportStatus
ApplicationComponentDetail.Builder antipatternReportStatus(AntipatternReportStatus antipatternReportStatus)
The status of the anti-pattern report generation.
- Parameters:
antipatternReportStatus- The status of the anti-pattern report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AntipatternReportStatus,AntipatternReportStatus
-
antipatternReportStatusMessage
ApplicationComponentDetail.Builder antipatternReportStatusMessage(String antipatternReportStatusMessage)
The status message for the anti-pattern.
- Parameters:
antipatternReportStatusMessage- The status message for the anti-pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appType
ApplicationComponentDetail.Builder appType(String appType)
The type of application component.
-
appType
ApplicationComponentDetail.Builder appType(AppType appType)
The type of application component.
-
appUnitError
ApplicationComponentDetail.Builder appUnitError(AppUnitError appUnitError)
The error in the analysis of the source code or database.
- Parameters:
appUnitError- The error in the analysis of the source code or database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appUnitError
default ApplicationComponentDetail.Builder appUnitError(Consumer<AppUnitError.Builder> appUnitError)
The error in the analysis of the source code or database.
This is a convenience method that creates an instance of theAppUnitError.Builderavoiding the need to create one manually viaAppUnitError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappUnitError(AppUnitError).- Parameters:
appUnitError- a consumer that will call methods onAppUnitError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
appUnitError(AppUnitError)
-
associatedServerId
ApplicationComponentDetail.Builder associatedServerId(String associatedServerId)
The ID of the server that the application component is running on.
- Parameters:
associatedServerId- The ID of the server that the application component is running on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseConfigDetail
ApplicationComponentDetail.Builder databaseConfigDetail(DatabaseConfigDetail databaseConfigDetail)
Configuration details for the database associated with the application component.
- Parameters:
databaseConfigDetail- Configuration details for the database associated with the application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseConfigDetail
default ApplicationComponentDetail.Builder databaseConfigDetail(Consumer<DatabaseConfigDetail.Builder> databaseConfigDetail)
Configuration details for the database associated with the application component.
This is a convenience method that creates an instance of theDatabaseConfigDetail.Builderavoiding the need to create one manually viaDatabaseConfigDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseConfigDetail(DatabaseConfigDetail).- Parameters:
databaseConfigDetail- a consumer that will call methods onDatabaseConfigDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
databaseConfigDetail(DatabaseConfigDetail)
-
id
ApplicationComponentDetail.Builder id(String id)
The ID of the application component.
- Parameters:
id- The ID of the application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusionStatus
ApplicationComponentDetail.Builder inclusionStatus(String inclusionStatus)
Indicates whether the application component has been included for server recommendation or not.
- Parameters:
inclusionStatus- Indicates whether the application component has been included for server recommendation or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InclusionStatus,InclusionStatus
-
inclusionStatus
ApplicationComponentDetail.Builder inclusionStatus(InclusionStatus inclusionStatus)
Indicates whether the application component has been included for server recommendation or not.
- Parameters:
inclusionStatus- Indicates whether the application component has been included for server recommendation or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InclusionStatus,InclusionStatus
-
lastAnalyzedTimestamp
ApplicationComponentDetail.Builder lastAnalyzedTimestamp(Instant lastAnalyzedTimestamp)
The timestamp of when the application component was assessed.
- Parameters:
lastAnalyzedTimestamp- The timestamp of when the application component was assessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listAntipatternSeveritySummary
ApplicationComponentDetail.Builder listAntipatternSeveritySummary(Collection<AntipatternSeveritySummary> listAntipatternSeveritySummary)
A list of anti-pattern severity summaries.
- Parameters:
listAntipatternSeveritySummary- A list of anti-pattern severity summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listAntipatternSeveritySummary
ApplicationComponentDetail.Builder listAntipatternSeveritySummary(AntipatternSeveritySummary... listAntipatternSeveritySummary)
A list of anti-pattern severity summaries.
- Parameters:
listAntipatternSeveritySummary- A list of anti-pattern severity summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listAntipatternSeveritySummary
ApplicationComponentDetail.Builder listAntipatternSeveritySummary(Consumer<AntipatternSeveritySummary.Builder>... listAntipatternSeveritySummary)
A list of anti-pattern severity summaries.
This is a convenience method that creates an instance of theAntipatternSeveritySummary.Builderavoiding the need to create one manually viaAntipatternSeveritySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#listAntipatternSeveritySummary(List.) - Parameters:
listAntipatternSeveritySummary- a consumer that will call methods onAntipatternSeveritySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#listAntipatternSeveritySummary(java.util.Collection)
-
moreServerAssociationExists
ApplicationComponentDetail.Builder moreServerAssociationExists(Boolean moreServerAssociationExists)
Set to true if the application component is running on multiple servers.
- Parameters:
moreServerAssociationExists- Set to true if the application component is running on multiple servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ApplicationComponentDetail.Builder name(String name)
The name of application component.
- Parameters:
name- The name of application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osDriver
ApplicationComponentDetail.Builder osDriver(String osDriver)
OS driver.
- Parameters:
osDriver- OS driver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osVersion
ApplicationComponentDetail.Builder osVersion(String osVersion)
OS version.
- Parameters:
osVersion- OS version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSet
ApplicationComponentDetail.Builder recommendationSet(RecommendationSet recommendationSet)
The top recommendation set for the application component.
- Parameters:
recommendationSet- The top recommendation set for the application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSet
default ApplicationComponentDetail.Builder recommendationSet(Consumer<RecommendationSet.Builder> recommendationSet)
The top recommendation set for the application component.
This is a convenience method that creates an instance of theRecommendationSet.Builderavoiding the need to create one manually viaRecommendationSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendationSet(RecommendationSet).- Parameters:
recommendationSet- a consumer that will call methods onRecommendationSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
recommendationSet(RecommendationSet)
-
resourceSubType
ApplicationComponentDetail.Builder resourceSubType(String resourceSubType)
The application component subtype.
- Parameters:
resourceSubType- The application component subtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceSubType,ResourceSubType
-
resourceSubType
ApplicationComponentDetail.Builder resourceSubType(ResourceSubType resourceSubType)
The application component subtype.
- Parameters:
resourceSubType- The application component subtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceSubType,ResourceSubType
-
resultList
ApplicationComponentDetail.Builder resultList(Collection<Result> resultList)
A list of the analysis results.
- Parameters:
resultList- A list of the analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultList
ApplicationComponentDetail.Builder resultList(Result... resultList)
A list of the analysis results.
- Parameters:
resultList- A list of the analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultList
ApplicationComponentDetail.Builder resultList(Consumer<Result.Builder>... resultList)
A list of the analysis results.
This is a convenience method that creates an instance of theResult.Builderavoiding the need to create one manually viaResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resultList(List.) - Parameters:
resultList- a consumer that will call methods onResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resultList(java.util.Collection)
-
runtimeStatus
ApplicationComponentDetail.Builder runtimeStatus(String runtimeStatus)
The status of the application unit.
- Parameters:
runtimeStatus- The status of the application unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuntimeAnalysisStatus,RuntimeAnalysisStatus
-
runtimeStatus
ApplicationComponentDetail.Builder runtimeStatus(RuntimeAnalysisStatus runtimeStatus)
The status of the application unit.
- Parameters:
runtimeStatus- The status of the application unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuntimeAnalysisStatus,RuntimeAnalysisStatus
-
runtimeStatusMessage
ApplicationComponentDetail.Builder runtimeStatusMessage(String runtimeStatusMessage)
The status message for the application unit.
- Parameters:
runtimeStatusMessage- The status message for the application unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeRepositories
ApplicationComponentDetail.Builder sourceCodeRepositories(Collection<SourceCodeRepository> sourceCodeRepositories)
Details about the source code repository associated with the application component.
- Parameters:
sourceCodeRepositories- Details about the source code repository associated with the application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeRepositories
ApplicationComponentDetail.Builder sourceCodeRepositories(SourceCodeRepository... sourceCodeRepositories)
Details about the source code repository associated with the application component.
- Parameters:
sourceCodeRepositories- Details about the source code repository associated with the application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeRepositories
ApplicationComponentDetail.Builder sourceCodeRepositories(Consumer<SourceCodeRepository.Builder>... sourceCodeRepositories)
Details about the source code repository associated with the application component.
This is a convenience method that creates an instance of theSourceCodeRepository.Builderavoiding the need to create one manually viaSourceCodeRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourceCodeRepositories(List.) - Parameters:
sourceCodeRepositories- a consumer that will call methods onSourceCodeRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sourceCodeRepositories(java.util.Collection)
-
statusMessage
ApplicationComponentDetail.Builder statusMessage(String statusMessage)
A detailed description of the analysis status and any failure message.
- Parameters:
statusMessage- A detailed description of the analysis status and any failure message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-