Class GetCommitmentPurchaseAnalysisResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse
-
- software.amazon.awssdk.services.costexplorer.model.GetCommitmentPurchaseAnalysisResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,GetCommitmentPurchaseAnalysisResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetCommitmentPurchaseAnalysisResponse extends CostExplorerResponse implements ToCopyableBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,GetCommitmentPurchaseAnalysisResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetCommitmentPurchaseAnalysisResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanalysisCompletionTime()The completion time of the analysis.AnalysisDetailsanalysisDetails()Details about the analysis.StringanalysisId()The analysis ID that's associated with the commitment purchase analysis.StringanalysisStartedTime()The start time of the analysis.AnalysisStatusanalysisStatus()The status of the analysis.StringanalysisStatusAsString()The status of the analysis.static GetCommitmentPurchaseAnalysisResponse.Builderbuilder()CommitmentPurchaseAnalysisConfigurationcommitmentPurchaseAnalysisConfiguration()The configuration for the commitment purchase analysis.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorCodeerrorCode()The error code used for the analysis.StringerrorCodeAsString()The error code used for the analysis.StringestimatedCompletionTime()The estimated time for when the analysis will complete.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetCommitmentPurchaseAnalysisResponse.Builder>serializableBuilderClass()GetCommitmentPurchaseAnalysisResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
estimatedCompletionTime
public final String estimatedCompletionTime()
The estimated time for when the analysis will complete.
- Returns:
- The estimated time for when the analysis will complete.
-
analysisCompletionTime
public final String analysisCompletionTime()
The completion time of the analysis.
- Returns:
- The completion time of the analysis.
-
analysisStartedTime
public final String analysisStartedTime()
The start time of the analysis.
- Returns:
- The start time of the analysis.
-
analysisId
public final String analysisId()
The analysis ID that's associated with the commitment purchase analysis.
- Returns:
- The analysis ID that's associated with the commitment purchase analysis.
-
analysisStatus
public final AnalysisStatus analysisStatus()
The status of the analysis.
If the service returns an enum value that is not available in the current SDK version,
analysisStatuswill returnAnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromanalysisStatusAsString().- Returns:
- The status of the analysis.
- See Also:
AnalysisStatus
-
analysisStatusAsString
public final String analysisStatusAsString()
The status of the analysis.
If the service returns an enum value that is not available in the current SDK version,
analysisStatuswill returnAnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromanalysisStatusAsString().- Returns:
- The status of the analysis.
- See Also:
AnalysisStatus
-
errorCode
public final ErrorCode errorCode()
The error code used for the analysis.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code used for the analysis.
- See Also:
ErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The error code used for the analysis.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code used for the analysis.
- See Also:
ErrorCode
-
analysisDetails
public final AnalysisDetails analysisDetails()
Details about the analysis.
- Returns:
- Details about the analysis.
-
commitmentPurchaseAnalysisConfiguration
public final CommitmentPurchaseAnalysisConfiguration commitmentPurchaseAnalysisConfiguration()
The configuration for the commitment purchase analysis.
- Returns:
- The configuration for the commitment purchase analysis.
-
toBuilder
public GetCommitmentPurchaseAnalysisResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetCommitmentPurchaseAnalysisResponse.Builder,GetCommitmentPurchaseAnalysisResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetCommitmentPurchaseAnalysisResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetCommitmentPurchaseAnalysisResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-