com.amazonaws.services.redshift.model

## クラス ReservedNode

- java.lang.Object
- - com.amazonaws.services.redshift.model.ReservedNode

- すべての実装されたインタフェース:
    java.io.Serializable

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

  Describes a reserved node.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `ReservedNode()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCurrencyCode()` The currency code for the reserved cluster.
    `java.lang.Integer` | `getDuration()` The duration of the node reservation in seconds.
    `java.lang.Double` | `getFixedPrice()` The fixed cost Amazon Redshift charged you for this reserved node.
    `java.lang.Integer` | `getNodeCount()` The number of reserved compute nodes.
    `java.lang.String` | `getNodeType()` The node type of the reserved node.
    `java.lang.String` | `getOfferingType()` The anticipated utilization of the reserved node, as defined in the reserved node offering.
    `java.util.List<RecurringCharge>` | `getRecurringCharges()` The recurring charges for the reserved node.
    `java.lang.String` | `getReservedNodeId()` The unique identifier for the reservation.
    `java.lang.String` | `getReservedNodeOfferingId()` The identifier for the reserved node offering.
    `java.util.Date` | `getStartTime()` The time the reservation started.
    `java.lang.String` | `getState()` The state of the reserved Compute Node.
    `java.lang.Double` | `getUsagePrice()` The hourly rate Amazon Redshift charge you for this reserved node.
    `int` | `hashCode()`
    `void` | `setCurrencyCode(java.lang.String currencyCode)` The currency code for the reserved cluster.
    `void` | `setDuration(java.lang.Integer duration)` The duration of the node reservation in seconds.
    `void` | `setFixedPrice(java.lang.Double fixedPrice)` The fixed cost Amazon Redshift charged you for this reserved node.
    `void` | `setNodeCount(java.lang.Integer nodeCount)` The number of reserved compute nodes.
    `void` | `setNodeType(java.lang.String nodeType)` The node type of the reserved node.
    `void` | `setOfferingType(java.lang.String offeringType)` The anticipated utilization of the reserved node, as defined in the reserved node offering.
    `void` | `setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)` The recurring charges for the reserved node.
    `void` | `setReservedNodeId(java.lang.String reservedNodeId)` The unique identifier for the reservation.
    `void` | `setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)` The identifier for the reserved node offering.
    `void` | `setStartTime(java.util.Date startTime)` The time the reservation started.
    `void` | `setState(java.lang.String state)` The state of the reserved Compute Node.
    `void` | `setUsagePrice(java.lang.Double usagePrice)` The hourly rate Amazon Redshift charge you for this reserved node.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ReservedNode` | `withCurrencyCode(java.lang.String currencyCode)` The currency code for the reserved cluster.
    `ReservedNode` | `withDuration(java.lang.Integer duration)` The duration of the node reservation in seconds.
    `ReservedNode` | `withFixedPrice(java.lang.Double fixedPrice)` The fixed cost Amazon Redshift charged you for this reserved node.
    `ReservedNode` | `withNodeCount(java.lang.Integer nodeCount)` The number of reserved compute nodes.
    `ReservedNode` | `withNodeType(java.lang.String nodeType)` The node type of the reserved node.
    `ReservedNode` | `withOfferingType(java.lang.String offeringType)` The anticipated utilization of the reserved node, as defined in the reserved node offering.
    `ReservedNode` | `withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)` The recurring charges for the reserved node.
    `ReservedNode` | `withRecurringCharges(RecurringCharge... recurringCharges)` The recurring charges for the reserved node.
    `ReservedNode` | `withReservedNodeId(java.lang.String reservedNodeId)` The unique identifier for the reservation.
    `ReservedNode` | `withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)` The identifier for the reserved node offering.
    `ReservedNode` | `withStartTime(java.util.Date startTime)` The time the reservation started.
    `ReservedNode` | `withState(java.lang.String state)` The state of the reserved Compute Node.
    `ReservedNode` | `withUsagePrice(java.lang.Double usagePrice)` The hourly rate Amazon Redshift charge you for this reserved node.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### ReservedNode

          public ReservedNode()

  - ### メソッドの詳細

    - #### getReservedNodeId

          public java.lang.String getReservedNodeId()

      The unique identifier for the reservation.
      戻り値:
        The unique identifier for the reservation.

    - #### setReservedNodeId

          public void setReservedNodeId(java.lang.String reservedNodeId)

      The unique identifier for the reservation.
      パラメータ:
        `reservedNodeId` - The unique identifier for the reservation.

    - #### withReservedNodeId

          public ReservedNode withReservedNodeId(java.lang.String reservedNodeId)

      The unique identifier for the reservation.

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

      パラメータ:
        `reservedNodeId` - The unique identifier for the reservation.

    - #### getReservedNodeOfferingId

          public java.lang.String getReservedNodeOfferingId()

      The identifier for the reserved node offering.
      戻り値:
        The identifier for the reserved node offering.

    - #### setReservedNodeOfferingId

          public void setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)

      The identifier for the reserved node offering.
      パラメータ:
        `reservedNodeOfferingId` - The identifier for the reserved node offering.

    - #### withReservedNodeOfferingId

          public ReservedNode withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)

      The identifier for the reserved node offering.

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

      パラメータ:
        `reservedNodeOfferingId` - The identifier for the reserved node offering.

    - #### getNodeType

          public java.lang.String getNodeType()

      The node type of the reserved node.
      戻り値:
        The node type of the reserved node.

    - #### setNodeType

          public void setNodeType(java.lang.String nodeType)

      The node type of the reserved node.
      パラメータ:
        `nodeType` - The node type of the reserved node.

    - #### withNodeType

          public ReservedNode withNodeType(java.lang.String nodeType)

      The node type of the reserved node.

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

      パラメータ:
        `nodeType` - The node type of the reserved node.

    - #### getStartTime

          public java.util.Date getStartTime()

      The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.
      戻り値:
        The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.

    - #### setStartTime

          public void setStartTime(java.util.Date startTime)

      The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.
      パラメータ:
        `startTime` - The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.

    - #### withStartTime

          public ReservedNode withStartTime(java.util.Date startTime)

      The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.

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

      パラメータ:
        `startTime` - The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.

    - #### getDuration

          public java.lang.Integer getDuration()

      The duration of the node reservation in seconds.
      戻り値:
        The duration of the node reservation in seconds.

    - #### setDuration

          public void setDuration(java.lang.Integer duration)

      The duration of the node reservation in seconds.
      パラメータ:
        `duration` - The duration of the node reservation in seconds.

    - #### withDuration

          public ReservedNode withDuration(java.lang.Integer duration)

      The duration of the node reservation in seconds.

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

      パラメータ:
        `duration` - The duration of the node reservation in seconds.

    - #### getFixedPrice

          public java.lang.Double getFixedPrice()

      The fixed cost Amazon Redshift charged you for this reserved node.
      戻り値:
        The fixed cost Amazon Redshift charged you for this reserved node.

    - #### setFixedPrice

          public void setFixedPrice(java.lang.Double fixedPrice)

      The fixed cost Amazon Redshift charged you for this reserved node.
      パラメータ:
        `fixedPrice` - The fixed cost Amazon Redshift charged you for this reserved node.

    - #### withFixedPrice

          public ReservedNode withFixedPrice(java.lang.Double fixedPrice)

      The fixed cost Amazon Redshift charged you for this reserved node.

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

      パラメータ:
        `fixedPrice` - The fixed cost Amazon Redshift charged you for this reserved node.

    - #### getUsagePrice

          public java.lang.Double getUsagePrice()

      The hourly rate Amazon Redshift charge you for this reserved node.
      戻り値:
        The hourly rate Amazon Redshift charge you for this reserved node.

    - #### setUsagePrice

          public void setUsagePrice(java.lang.Double usagePrice)

      The hourly rate Amazon Redshift charge you for this reserved node.
      パラメータ:
        `usagePrice` - The hourly rate Amazon Redshift charge you for this reserved node.

    - #### withUsagePrice

          public ReservedNode withUsagePrice(java.lang.Double usagePrice)

      The hourly rate Amazon Redshift charge you for this reserved node.

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

      パラメータ:
        `usagePrice` - The hourly rate Amazon Redshift charge you for this reserved node.

    - #### getCurrencyCode

          public java.lang.String getCurrencyCode()

      The currency code for the reserved cluster.
      戻り値:
        The currency code for the reserved cluster.

    - #### setCurrencyCode

          public void setCurrencyCode(java.lang.String currencyCode)

      The currency code for the reserved cluster.
      パラメータ:
        `currencyCode` - The currency code for the reserved cluster.

    - #### withCurrencyCode

          public ReservedNode withCurrencyCode(java.lang.String currencyCode)

      The currency code for the reserved cluster.

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

      パラメータ:
        `currencyCode` - The currency code for the reserved cluster.

    - #### getNodeCount

          public java.lang.Integer getNodeCount()

      The number of reserved compute nodes.
      戻り値:
        The number of reserved compute nodes.

    - #### setNodeCount

          public void setNodeCount(java.lang.Integer nodeCount)

      The number of reserved compute nodes.
      パラメータ:
        `nodeCount` - The number of reserved compute nodes.

    - #### withNodeCount

          public ReservedNode withNodeCount(java.lang.Integer nodeCount)

      The number of reserved compute nodes.

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

      パラメータ:
        `nodeCount` - The number of reserved compute nodes.

    - #### getState

          public java.lang.String getState()

      The state of the reserved Compute Node.

      Possible Values:

      - pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
      - active-This reserved node is owned by the caller and is available for use.
      - payment-failed-Payment failed for the purchase attempt.
      戻り値:
        The state of the reserved Compute Node.

        Possible Values:

        - pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
        - active-This reserved node is owned by the caller and is available for use.
        - payment-failed-Payment failed for the purchase attempt.

    - #### setState

          public void setState(java.lang.String state)

      The state of the reserved Compute Node.

      Possible Values:

      - pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
      - active-This reserved node is owned by the caller and is available for use.
      - payment-failed-Payment failed for the purchase attempt.
      パラメータ:
        `state` - The state of the reserved Compute Node.

        Possible Values:

        - pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
        - active-This reserved node is owned by the caller and is available for use.
        - payment-failed-Payment failed for the purchase attempt.

    - #### withState

          public ReservedNode withState(java.lang.String state)

      The state of the reserved Compute Node.

      Possible Values:

      - pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
      - active-This reserved node is owned by the caller and is available for use.
      - payment-failed-Payment failed for the purchase attempt.

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

      パラメータ:
        `state` - The state of the reserved Compute Node.

        Possible Values:

        - pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
        - active-This reserved node is owned by the caller and is available for use.
        - payment-failed-Payment failed for the purchase attempt.

    - #### getOfferingType

          public java.lang.String getOfferingType()

      The anticipated utilization of the reserved node, as defined in the reserved node offering.
      戻り値:
        The anticipated utilization of the reserved node, as defined in the reserved node offering.

    - #### setOfferingType

          public void setOfferingType(java.lang.String offeringType)

      The anticipated utilization of the reserved node, as defined in the reserved node offering.
      パラメータ:
        `offeringType` - The anticipated utilization of the reserved node, as defined in the reserved node offering.

    - #### withOfferingType

          public ReservedNode withOfferingType(java.lang.String offeringType)

      The anticipated utilization of the reserved node, as defined in the reserved node offering.

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

      パラメータ:
        `offeringType` - The anticipated utilization of the reserved node, as defined in the reserved node offering.

    - #### getRecurringCharges

          public java.util.List<RecurringCharge> getRecurringCharges()

      The recurring charges for the reserved node.
      戻り値:
        The recurring charges for the reserved node.

    - #### setRecurringCharges

          public void setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)

      The recurring charges for the reserved node.
      パラメータ:
        `recurringCharges` - The recurring charges for the reserved node.

    - #### withRecurringCharges

          public ReservedNode withRecurringCharges(RecurringCharge... recurringCharges)

      The recurring charges for the reserved node.

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

      パラメータ:
        `recurringCharges` - The recurring charges for the reserved node.

    - #### withRecurringCharges

          public ReservedNode withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)

      The recurring charges for the reserved node.

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

      パラメータ:
        `recurringCharges` - The recurring charges for the reserved node.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`