Class ModifyCapacityReservationResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyCapacityReservationResponse.Builder,ModifyCapacityReservationResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe configuration that the Capacity Reservation will have after the adjustment is applied.The status of the requested modification.final StringThe status of the requested modification.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanReturnstrueif the request succeeds; otherwise, it returns an error.static Class<? extends ModifyCapacityReservationResponse.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.ec2.model.Ec2Response
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
adjustmentStatus
The status of the requested modification. For a description of each possible value, see the
adjustmentStatusfield of theCapacityReservationdata type.If the service returns an enum value that is not available in the current SDK version,
adjustmentStatuswill returnCapacityReservationAdjustmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadjustmentStatusAsString().- Returns:
- The status of the requested modification. For a description of each possible value, see the
adjustmentStatusfield of theCapacityReservationdata type. - See Also:
-
adjustmentStatusAsString
The status of the requested modification. For a description of each possible value, see the
adjustmentStatusfield of theCapacityReservationdata type.If the service returns an enum value that is not available in the current SDK version,
adjustmentStatuswill returnCapacityReservationAdjustmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadjustmentStatusAsString().- Returns:
- The status of the requested modification. For a description of each possible value, see the
adjustmentStatusfield of theCapacityReservationdata type. - See Also:
-
adjustmentDetails
The configuration that the Capacity Reservation will have after the adjustment is applied.
- Returns:
- The configuration that the Capacity Reservation will have after the adjustment is applied.
-
returnValue
Returns
trueif the request succeeds; otherwise, it returns an error.- Returns:
- Returns
trueif the request succeeds; otherwise, it returns an error.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyCapacityReservationResponse.Builder,ModifyCapacityReservationResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-