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 ReservedInstancesModificationResult
clone()
boolean
equals(Object obj)
String
getReservedInstancesId()
The ID for the Reserved Instances that were created as part of the modification request.ReservedInstancesConfiguration
getTargetConfiguration()
The target Reserved Instances configurations supplied as part of the modification request.int
hashCode()
void
setReservedInstancesId(String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request.void
setTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.String
toString()
Returns a string representation of this object; useful for testing and debugging.ReservedInstancesModificationResult
withReservedInstancesId(String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request.ReservedInstancesModificationResult
withTargetConfiguration(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReservedInstancesModificationResult clone()
-
-