Interface ServerDetail.Builder

    • 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.
      • 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
      • 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 the StrategySummary.Builder avoiding the need to create one manually via StrategySummary.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #applicationComponentStrategySummary(List).

        Parameters:
        applicationComponentStrategySummary - a consumer that will call methods on StrategySummary.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
      • 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.
      • 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.
      • 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.
      • 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.