Interface ServerDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServerDetail.Builder,,ServerDetail> SdkBuilder<ServerDetail.Builder,,ServerDetail> SdkPojo
- Enclosing class:
ServerDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServerDetail.BuilderantipatternReportS3Object(Consumer<S3Object.Builder> antipatternReportS3Object) The S3 bucket name and Amazon S3 key name for anti-pattern report.antipatternReportS3Object(S3Object antipatternReportS3Object) The S3 bucket name and Amazon S3 key name for anti-pattern report.antipatternReportStatus(String antipatternReportStatus) The status of the anti-pattern report generation.antipatternReportStatus(AntipatternReportStatus antipatternReportStatus) The status of the anti-pattern report generation.antipatternReportStatusMessage(String antipatternReportStatusMessage) A message about the status of the anti-pattern report generation.applicationComponentStrategySummary(Collection<StrategySummary> applicationComponentStrategySummary) A list of strategy summaries.applicationComponentStrategySummary(Consumer<StrategySummary.Builder>... applicationComponentStrategySummary) A list of strategy summaries.applicationComponentStrategySummary(StrategySummary... applicationComponentStrategySummary) A list of strategy summaries.dataCollectionStatus(String dataCollectionStatus) The status of assessment for the server.dataCollectionStatus(RunTimeAssessmentStatus dataCollectionStatus) The status of assessment for the server.The server ID.lastAnalyzedTimestamp(Instant lastAnalyzedTimestamp) The timestamp of when the server was assessed.listAntipatternSeveritySummary(Collection<AntipatternSeveritySummary> listAntipatternSeveritySummary) A list of anti-pattern severity summaries.listAntipatternSeveritySummary(Consumer<AntipatternSeveritySummary.Builder>... listAntipatternSeveritySummary) A list of anti-pattern severity summaries.listAntipatternSeveritySummary(AntipatternSeveritySummary... listAntipatternSeveritySummary) A list of anti-pattern severity summaries.The name of the server.default ServerDetail.BuilderrecommendationSet(Consumer<RecommendationSet.Builder> recommendationSet) A set of recommendations.recommendationSet(RecommendationSet recommendationSet) A set of recommendations.default ServerDetail.BuilderserverError(Consumer<ServerError.Builder> serverError) The error in server analysis.serverError(ServerError serverError) The error in server analysis.serverType(String serverType) The type of server.statusMessage(String statusMessage) A message about the status of data collection, which contains detailed descriptions of any error messages.default ServerDetail.BuildersystemInfo(Consumer<SystemInfo.Builder> systemInfo) System information about the server.systemInfo(SystemInfo systemInfo) System information about the server.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, sdkFields
-
Method Details
-
antipatternReportS3Object
The S3 bucket name and Amazon S3 key name for anti-pattern report.
- Parameters:
antipatternReportS3Object- The S3 bucket name and Amazon S3 key name for anti-pattern report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
antipatternReportS3Object
default ServerDetail.Builder antipatternReportS3Object(Consumer<S3Object.Builder> antipatternReportS3Object) The S3 bucket name and Amazon S3 key name for 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:
-
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
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:
-
antipatternReportStatusMessage
A message about the status of the anti-pattern report generation.
- Parameters:
antipatternReportStatusMessage- A message about the status of the anti-pattern report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationComponentStrategySummary
ServerDetail.Builder applicationComponentStrategySummary(Collection<StrategySummary> applicationComponentStrategySummary) A list of strategy summaries.
- Parameters:
applicationComponentStrategySummary- A list of strategy summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationComponentStrategySummary
ServerDetail.Builder applicationComponentStrategySummary(StrategySummary... applicationComponentStrategySummary) A list of strategy summaries.
- Parameters:
applicationComponentStrategySummary- A list of strategy summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationComponentStrategySummary
ServerDetail.Builder applicationComponentStrategySummary(Consumer<StrategySummary.Builder>... applicationComponentStrategySummary) A list of strategy summaries.
This is a convenience method that creates an instance of theStrategySummary.Builderavoiding the need to create one manually viaStrategySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplicationComponentStrategySummary(List<StrategySummary>).- Parameters:
applicationComponentStrategySummary- a consumer that will call methods onStrategySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCollectionStatus
The status of assessment for the server.
- Parameters:
dataCollectionStatus- The status of assessment for the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCollectionStatus
The status of assessment for the server.
- Parameters:
dataCollectionStatus- The status of assessment for the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The server ID.
- Parameters:
id- The server ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAnalyzedTimestamp
The timestamp of when the server was assessed.
- Parameters:
lastAnalyzedTimestamp- The timestamp of when the server was assessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listAntipatternSeveritySummary
ServerDetail.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
ServerDetail.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
ServerDetail.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 tolistAntipatternSeveritySummary(List<AntipatternSeveritySummary>).- 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:
-
name
The name of the server.
- Parameters:
name- The name of the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSet
A set of recommendations.
- Parameters:
recommendationSet- A set of recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSet
default ServerDetail.Builder recommendationSet(Consumer<RecommendationSet.Builder> recommendationSet) A set of recommendations.
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:
-
serverError
The error in server analysis.
- Parameters:
serverError- The error in server analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverError
The error in server analysis.
This is a convenience method that creates an instance of theServerError.Builderavoiding the need to create one manually viaServerError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverError(ServerError).- Parameters:
serverError- a consumer that will call methods onServerError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverType
The type of server.
- Parameters:
serverType- The type of server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
A message about the status of data collection, which contains detailed descriptions of any error messages.
- Parameters:
statusMessage- A message about the status of data collection, which contains detailed descriptions of any error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemInfo
System information about the server.
- Parameters:
systemInfo- System information about the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemInfo
System information about the server.
This is a convenience method that creates an instance of theSystemInfo.Builderavoiding the need to create one manually viaSystemInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemInfo(SystemInfo).- Parameters:
systemInfo- a consumer that will call methods onSystemInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-