Class ReservedInstancesModification

    • Constructor Detail

      • ReservedInstancesModification

        public ReservedInstancesModification()
    • Method Detail

      • setReservedInstancesModificationId

        public void setReservedInstancesModificationId​(String reservedInstancesModificationId)

        A unique ID for the Reserved Instance modification.

        Parameters:
        reservedInstancesModificationId - A unique ID for the Reserved Instance modification.
      • getReservedInstancesModificationId

        public String getReservedInstancesModificationId()

        A unique ID for the Reserved Instance modification.

        Returns:
        A unique ID for the Reserved Instance modification.
      • withReservedInstancesModificationId

        public ReservedInstancesModification withReservedInstancesModificationId​(String reservedInstancesModificationId)

        A unique ID for the Reserved Instance modification.

        Parameters:
        reservedInstancesModificationId - A unique ID for the Reserved Instance modification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getReservedInstancesIds

        public List<ReservedInstancesId> getReservedInstancesIds()

        The IDs of one or more Reserved Instances.

        Returns:
        The IDs of one or more Reserved Instances.
      • setReservedInstancesIds

        public void setReservedInstancesIds​(Collection<ReservedInstancesId> reservedInstancesIds)

        The IDs of one or more Reserved Instances.

        Parameters:
        reservedInstancesIds - The IDs of one or more Reserved Instances.
      • withReservedInstancesIds

        public ReservedInstancesModification withReservedInstancesIds​(Collection<ReservedInstancesId> reservedInstancesIds)

        The IDs of one or more Reserved Instances.

        Parameters:
        reservedInstancesIds - The IDs of one or more Reserved Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getModificationResults

        public List<ReservedInstancesModificationResult> getModificationResults()

        Contains target configurations along with their corresponding new Reserved Instance IDs.

        Returns:
        Contains target configurations along with their corresponding new Reserved Instance IDs.
      • setModificationResults

        public void setModificationResults​(Collection<ReservedInstancesModificationResult> modificationResults)

        Contains target configurations along with their corresponding new Reserved Instance IDs.

        Parameters:
        modificationResults - Contains target configurations along with their corresponding new Reserved Instance IDs.
      • withModificationResults

        public ReservedInstancesModification withModificationResults​(Collection<ReservedInstancesModificationResult> modificationResults)

        Contains target configurations along with their corresponding new Reserved Instance IDs.

        Parameters:
        modificationResults - Contains target configurations along with their corresponding new Reserved Instance IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreateDate

        public void setCreateDate​(Date createDate)

        The time when the modification request was created.

        Parameters:
        createDate - The time when the modification request was created.
      • getCreateDate

        public Date getCreateDate()

        The time when the modification request was created.

        Returns:
        The time when the modification request was created.
      • withCreateDate

        public ReservedInstancesModification withCreateDate​(Date createDate)

        The time when the modification request was created.

        Parameters:
        createDate - The time when the modification request was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUpdateDate

        public void setUpdateDate​(Date updateDate)

        The time when the modification request was last updated.

        Parameters:
        updateDate - The time when the modification request was last updated.
      • getUpdateDate

        public Date getUpdateDate()

        The time when the modification request was last updated.

        Returns:
        The time when the modification request was last updated.
      • withUpdateDate

        public ReservedInstancesModification withUpdateDate​(Date updateDate)

        The time when the modification request was last updated.

        Parameters:
        updateDate - The time when the modification request was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEffectiveDate

        public void setEffectiveDate​(Date effectiveDate)

        The time for the modification to become effective.

        Parameters:
        effectiveDate - The time for the modification to become effective.
      • getEffectiveDate

        public Date getEffectiveDate()

        The time for the modification to become effective.

        Returns:
        The time for the modification to become effective.
      • withEffectiveDate

        public ReservedInstancesModification withEffectiveDate​(Date effectiveDate)

        The time for the modification to become effective.

        Parameters:
        effectiveDate - The time for the modification to become effective.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        The status of the Reserved Instances modification request.

        Parameters:
        status - The status of the Reserved Instances modification request.
      • getStatus

        public String getStatus()

        The status of the Reserved Instances modification request.

        Returns:
        The status of the Reserved Instances modification request.
      • withStatus

        public ReservedInstancesModification withStatus​(String status)

        The status of the Reserved Instances modification request.

        Parameters:
        status - The status of the Reserved Instances modification request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatusMessage

        public void setStatusMessage​(String statusMessage)

        The reason for the status.

        Parameters:
        statusMessage - The reason for the status.
      • getStatusMessage

        public String getStatusMessage()

        The reason for the status.

        Returns:
        The reason for the status.
      • withStatusMessage

        public ReservedInstancesModification withStatusMessage​(String statusMessage)

        The reason for the status.

        Parameters:
        statusMessage - The reason for the status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientToken

        public void setClientToken​(String clientToken)

        A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.

        Parameters:
        clientToken - A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
      • getClientToken

        public String getClientToken()

        A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.

        Returns:
        A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
      • withClientToken

        public ReservedInstancesModification withClientToken​(String clientToken)

        A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.

        Parameters:
        clientToken - A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object