Interface ServerDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServerDetail.Builder,ServerDetail>,SdkBuilder<ServerDetail.Builder,ServerDetail>,SdkPojo
- Enclosing class:
- ServerDetail
public static interface ServerDetail.Builder extends SdkPojo, CopyableBuilder<ServerDetail.Builder,ServerDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ServerDetail.BuilderantipatternReportS3Object(Consumer<S3Object.Builder> antipatternReportS3Object)The S3 bucket name and Amazon S3 key name for anti-pattern report.ServerDetail.BuilderantipatternReportS3Object(S3Object antipatternReportS3Object)The S3 bucket name and Amazon S3 key name for anti-pattern report.ServerDetail.BuilderantipatternReportStatus(String antipatternReportStatus)The status of the anti-pattern report generation.ServerDetail.BuilderantipatternReportStatus(AntipatternReportStatus antipatternReportStatus)The status of the anti-pattern report generation.ServerDetail.BuilderantipatternReportStatusMessage(String antipatternReportStatusMessage)A message about the status of the anti-pattern report generation.ServerDetail.BuilderapplicationComponentStrategySummary(Collection<StrategySummary> applicationComponentStrategySummary)A list of strategy summaries.ServerDetail.BuilderapplicationComponentStrategySummary(Consumer<StrategySummary.Builder>... applicationComponentStrategySummary)A list of strategy summaries.ServerDetail.BuilderapplicationComponentStrategySummary(StrategySummary... applicationComponentStrategySummary)A list of strategy summaries.ServerDetail.BuilderdataCollectionStatus(String dataCollectionStatus)The status of assessment for the server.ServerDetail.BuilderdataCollectionStatus(RunTimeAssessmentStatus dataCollectionStatus)The status of assessment for the server.ServerDetail.Builderid(String id)The server ID.ServerDetail.BuilderlastAnalyzedTimestamp(Instant lastAnalyzedTimestamp)The timestamp of when the server was assessed.ServerDetail.BuilderlistAntipatternSeveritySummary(Collection<AntipatternSeveritySummary> listAntipatternSeveritySummary)A list of anti-pattern severity summaries.ServerDetail.BuilderlistAntipatternSeveritySummary(Consumer<AntipatternSeveritySummary.Builder>... listAntipatternSeveritySummary)A list of anti-pattern severity summaries.ServerDetail.BuilderlistAntipatternSeveritySummary(AntipatternSeveritySummary... listAntipatternSeveritySummary)A list of anti-pattern severity summaries.ServerDetail.Buildername(String name)The name of the server.default ServerDetail.BuilderrecommendationSet(Consumer<RecommendationSet.Builder> recommendationSet)A set of recommendations.ServerDetail.BuilderrecommendationSet(RecommendationSet recommendationSet)A set of recommendations.default ServerDetail.BuilderserverError(Consumer<ServerError.Builder> serverError)The error in server analysis.ServerDetail.BuilderserverError(ServerError serverError)The error in server analysis.ServerDetail.BuilderserverType(String serverType)The type of server.ServerDetail.BuilderstatusMessage(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.ServerDetail.BuildersystemInfo(SystemInfo systemInfo)System information about the server.-
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
-
antipatternReportS3Object
ServerDetail.Builder antipatternReportS3Object(S3Object 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:
antipatternReportS3Object(S3Object)
-
antipatternReportStatus
ServerDetail.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
ServerDetail.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
ServerDetail.Builder antipatternReportStatusMessage(String 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 to#applicationComponentStrategySummary(List.) - 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:
#applicationComponentStrategySummary(java.util.Collection)
-
dataCollectionStatus
ServerDetail.Builder dataCollectionStatus(String 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:
RunTimeAssessmentStatus,RunTimeAssessmentStatus
-
dataCollectionStatus
ServerDetail.Builder dataCollectionStatus(RunTimeAssessmentStatus 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:
RunTimeAssessmentStatus,RunTimeAssessmentStatus
-
id
ServerDetail.Builder id(String 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
ServerDetail.Builder lastAnalyzedTimestamp(Instant 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 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)
-
name
ServerDetail.Builder name(String 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
ServerDetail.Builder recommendationSet(RecommendationSet 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:
recommendationSet(RecommendationSet)
-
serverError
ServerDetail.Builder serverError(ServerError 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
default ServerDetail.Builder serverError(Consumer<ServerError.Builder> 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:
serverError(ServerError)
-
serverType
ServerDetail.Builder serverType(String 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
ServerDetail.Builder statusMessage(String 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
ServerDetail.Builder systemInfo(SystemInfo 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
default ServerDetail.Builder systemInfo(Consumer<SystemInfo.Builder> 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:
systemInfo(SystemInfo)
-
-