com.amazonaws.services.ec2.model
Class ReservedInstancesModificationResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ReservedInstancesModificationResult
All Implemented Interfaces:
java.io.Serializable

public class ReservedInstancesModificationResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ReservedInstancesModificationResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.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(java.lang.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.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReservedInstancesModificationResult withReservedInstancesId(java.lang.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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservedInstancesModificationResult

public ReservedInstancesModificationResult()
Method Detail

getReservedInstancesId

public java.lang.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.

setReservedInstancesId

public void setReservedInstancesId(java.lang.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.

withReservedInstancesId

public ReservedInstancesModificationResult withReservedInstancesId(java.lang.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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

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.

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.

withTargetConfiguration

public ReservedInstancesModificationResult withTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
targetConfiguration - The target Reserved Instances configurations supplied as part of the modification request.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.