Interface GetCommitmentPurchaseAnalysisResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,GetCommitmentPurchaseAnalysisResponse>,CostExplorerResponse.Builder,SdkBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,GetCommitmentPurchaseAnalysisResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCommitmentPurchaseAnalysisResponse
public static interface GetCommitmentPurchaseAnalysisResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,GetCommitmentPurchaseAnalysisResponse>
-
-
Method Summary
-
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 Detail
-
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
GetCommitmentPurchaseAnalysisResponse.Builder analysisCompletionTime(String 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
GetCommitmentPurchaseAnalysisResponse.Builder analysisStartedTime(String 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
GetCommitmentPurchaseAnalysisResponse.Builder analysisId(String 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
GetCommitmentPurchaseAnalysisResponse.Builder analysisStatus(String 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,AnalysisStatus
-
analysisStatus
GetCommitmentPurchaseAnalysisResponse.Builder analysisStatus(AnalysisStatus 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,AnalysisStatus
-
errorCode
GetCommitmentPurchaseAnalysisResponse.Builder errorCode(String errorCode)
The error code used for the analysis.
-
errorCode
GetCommitmentPurchaseAnalysisResponse.Builder errorCode(ErrorCode errorCode)
The error code used for the analysis.
-
analysisDetails
GetCommitmentPurchaseAnalysisResponse.Builder analysisDetails(AnalysisDetails 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.Builderavoiding the need to create one manually viaAnalysisDetails.builder().When the
Consumercompletes,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:
analysisDetails(AnalysisDetails)
-
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.Builderavoiding the need to create one manually viaCommitmentPurchaseAnalysisConfiguration.builder().When the
Consumercompletes,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:
commitmentPurchaseAnalysisConfiguration(CommitmentPurchaseAnalysisConfiguration)
-
-