Interface GetCommitmentPurchaseAnalysisResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,
,GetCommitmentPurchaseAnalysisResponse> CostExplorerResponse.Builder
,SdkBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,
,GetCommitmentPurchaseAnalysisResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCommitmentPurchaseAnalysisResponse
-
Method Summary
Modifier and TypeMethodDescriptionanalysisCompletionTime
(String analysisCompletionTime) The completion time of the analysis.analysisDetails
(Consumer<AnalysisDetails.Builder> analysisDetails) Details about the analysis.analysisDetails
(AnalysisDetails analysisDetails) Details about the analysis.analysisId
(String analysisId) The analysis ID that's associated with the commitment purchase analysis.analysisStartedTime
(String analysisStartedTime) The start time of the analysis.analysisStatus
(String analysisStatus) The status of the analysis.analysisStatus
(AnalysisStatus analysisStatus) The status of the analysis.commitmentPurchaseAnalysisConfiguration
(Consumer<CommitmentPurchaseAnalysisConfiguration.Builder> commitmentPurchaseAnalysisConfiguration) The configuration for the commitment purchase analysis.commitmentPurchaseAnalysisConfiguration
(CommitmentPurchaseAnalysisConfiguration commitmentPurchaseAnalysisConfiguration) The configuration for the commitment purchase analysis.The error code used for the analysis.The error code used for the analysis.estimatedCompletionTime
(String estimatedCompletionTime) The estimated time for when the analysis will complete.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
estimatedCompletionTime
GetCommitmentPurchaseAnalysisResponse.Builder estimatedCompletionTime(String estimatedCompletionTime) The estimated time for when the analysis will complete.
- Parameters:
estimatedCompletionTime
- The estimated time for when the analysis will complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisCompletionTime
The completion time of the analysis.
- Parameters:
analysisCompletionTime
- The completion time of the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisStartedTime
The start time of the analysis.
- Parameters:
analysisStartedTime
- The start time of the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisId
The analysis ID that's associated with the commitment purchase analysis.
- Parameters:
analysisId
- The analysis ID that's associated with the commitment purchase analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisStatus
The status of the analysis.
- Parameters:
analysisStatus
- The status of the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisStatus
The status of the analysis.
- Parameters:
analysisStatus
- The status of the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code used for the analysis.
- Parameters:
errorCode
- The error code used for the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code used for the analysis.
- Parameters:
errorCode
- The error code used for the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisDetails
Details about the analysis.
- Parameters:
analysisDetails
- Details about the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisDetails
default GetCommitmentPurchaseAnalysisResponse.Builder analysisDetails(Consumer<AnalysisDetails.Builder> analysisDetails) Details about the analysis.
This is a convenience method that creates an instance of theAnalysisDetails.Builder
avoiding the need to create one manually viaAnalysisDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanalysisDetails(AnalysisDetails)
.- Parameters:
analysisDetails
- a consumer that will call methods onAnalysisDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
commitmentPurchaseAnalysisConfiguration
GetCommitmentPurchaseAnalysisResponse.Builder commitmentPurchaseAnalysisConfiguration(CommitmentPurchaseAnalysisConfiguration commitmentPurchaseAnalysisConfiguration) The configuration for the commitment purchase analysis.
- Parameters:
commitmentPurchaseAnalysisConfiguration
- The configuration for the commitment purchase analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentPurchaseAnalysisConfiguration
default GetCommitmentPurchaseAnalysisResponse.Builder commitmentPurchaseAnalysisConfiguration(Consumer<CommitmentPurchaseAnalysisConfiguration.Builder> commitmentPurchaseAnalysisConfiguration) The configuration for the commitment purchase analysis.
This is a convenience method that creates an instance of theCommitmentPurchaseAnalysisConfiguration.Builder
avoiding the need to create one manually viaCommitmentPurchaseAnalysisConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommitmentPurchaseAnalysisConfiguration(CommitmentPurchaseAnalysisConfiguration)
.- Parameters:
commitmentPurchaseAnalysisConfiguration
- a consumer that will call methods onCommitmentPurchaseAnalysisConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-