Class ReservedInstancesModificationResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ReservedInstancesModificationResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ReservedInstancesModificationResult extends Object implements Serializable, Cloneable
Describes the modification request/s.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReservedInstancesModificationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReservedInstancesModificationResultclone()booleanequals(Object obj)StringgetReservedInstancesId()The ID for the Reserved Instances that were created as part of the modification request.ReservedInstancesConfigurationgetTargetConfiguration()The target Reserved Instances configurations supplied as part of the modification request.inthashCode()voidsetReservedInstancesId(String reservedInstancesId)The ID for the Reserved Instances that were created as part of the modification request.voidsetTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)The target Reserved Instances configurations supplied as part of the modification request.StringtoString()Returns a string representation of this object; useful for testing and debugging.ReservedInstancesModificationResultwithReservedInstancesId(String reservedInstancesId)The ID for the Reserved Instances that were created as part of the modification request.ReservedInstancesModificationResultwithTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)The target Reserved Instances configurations supplied as part of the modification request.
-
-
-
Method Detail
-
setReservedInstancesId
public void setReservedInstancesId(String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
- Parameters:
reservedInstancesId- The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
-
getReservedInstancesId
public String getReservedInstancesId()
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
- Returns:
- The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
-
withReservedInstancesId
public ReservedInstancesModificationResult withReservedInstancesId(String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
- Parameters:
reservedInstancesId- The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetConfiguration
public void setTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
- Parameters:
targetConfiguration- The target Reserved Instances configurations supplied as part of the modification request.
-
getTargetConfiguration
public ReservedInstancesConfiguration getTargetConfiguration()
The target Reserved Instances configurations supplied as part of the modification request.
- Returns:
- The target Reserved Instances configurations supplied as part of the modification request.
-
withTargetConfiguration
public ReservedInstancesModificationResult withTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
- Parameters:
targetConfiguration- The target Reserved Instances configurations supplied as part of the modification request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReservedInstancesModificationResult clone()
-
-