Interface DescribeWhatIfAnalysisResponse.Builder

    • Method Detail

      • whatIfAnalysisName

        DescribeWhatIfAnalysisResponse.Builder whatIfAnalysisName​(String whatIfAnalysisName)

        The name of the what-if analysis.

        Parameters:
        whatIfAnalysisName - The name of the what-if analysis.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • whatIfAnalysisArn

        DescribeWhatIfAnalysisResponse.Builder whatIfAnalysisArn​(String whatIfAnalysisArn)

        The Amazon Resource Name (ARN) of the what-if analysis.

        Parameters:
        whatIfAnalysisArn - The Amazon Resource Name (ARN) of the what-if analysis.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • forecastArn

        DescribeWhatIfAnalysisResponse.Builder forecastArn​(String forecastArn)

        The Amazon Resource Name (ARN) of the what-if forecast.

        Parameters:
        forecastArn - The Amazon Resource Name (ARN) of the what-if forecast.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedTimeRemainingInMinutes

        DescribeWhatIfAnalysisResponse.Builder estimatedTimeRemainingInMinutes​(Long estimatedTimeRemainingInMinutes)

        The approximate time remaining to complete the what-if analysis, in minutes.

        Parameters:
        estimatedTimeRemainingInMinutes - The approximate time remaining to complete the what-if analysis, in minutes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DescribeWhatIfAnalysisResponse.Builder status​(String status)

        The status of the what-if analysis. States include:

        • ACTIVE

        • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED

        • CREATE_STOPPING, CREATE_STOPPED

        • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

        The Status of the what-if analysis must be ACTIVE before you can access the analysis.

        Parameters:
        status - The status of the what-if analysis. States include:

        • ACTIVE

        • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED

        • CREATE_STOPPING, CREATE_STOPPED

        • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

        The Status of the what-if analysis must be ACTIVE before you can access the analysis.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        DescribeWhatIfAnalysisResponse.Builder message​(String message)

        If an error occurred, an informational message about the error.

        Parameters:
        message - If an error occurred, an informational message about the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        DescribeWhatIfAnalysisResponse.Builder creationTime​(Instant creationTime)

        When the what-if analysis was created.

        Parameters:
        creationTime - When the what-if analysis was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModificationTime

        DescribeWhatIfAnalysisResponse.Builder lastModificationTime​(Instant lastModificationTime)

        The last time the resource was modified. The timestamp depends on the status of the job:

        • CREATE_PENDING - The CreationTime.

        • CREATE_IN_PROGRESS - The current timestamp.

        • CREATE_STOPPING - The current timestamp.

        • CREATE_STOPPED - When the job stopped.

        • ACTIVE or CREATE_FAILED - When the job finished or failed.

        Parameters:
        lastModificationTime - The last time the resource was modified. The timestamp depends on the status of the job:

        • CREATE_PENDING - The CreationTime.

        • CREATE_IN_PROGRESS - The current timestamp.

        • CREATE_STOPPING - The current timestamp.

        • CREATE_STOPPED - When the job stopped.

        • ACTIVE or CREATE_FAILED - When the job finished or failed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeSeriesSelector

        DescribeWhatIfAnalysisResponse.Builder timeSeriesSelector​(TimeSeriesSelector timeSeriesSelector)
        Sets the value of the TimeSeriesSelector property for this object.
        Parameters:
        timeSeriesSelector - The new value for the TimeSeriesSelector property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.