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:
  • Constructor Details

    • ReservedInstancesModificationResult

      public ReservedInstancesModificationResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object