Class ModifyReservedInstancesRequest

    • Constructor Detail

      • ModifyReservedInstancesRequest

        public ModifyReservedInstancesRequest()
    • Method Detail

      • setClientToken

        public void setClientToken​(String clientToken)

        A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.

        Parameters:
        clientToken - A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
      • getClientToken

        public String getClientToken()

        A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.

        Returns:
        A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
      • withClientToken

        public ModifyReservedInstancesRequest withClientToken​(String clientToken)

        A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.

        Parameters:
        clientToken - A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getReservedInstancesIds

        public List<String> getReservedInstancesIds()

        The IDs of the Reserved Instances to modify.

        Returns:
        The IDs of the Reserved Instances to modify.
      • setReservedInstancesIds

        public void setReservedInstancesIds​(Collection<String> reservedInstancesIds)

        The IDs of the Reserved Instances to modify.

        Parameters:
        reservedInstancesIds - The IDs of the Reserved Instances to modify.
      • withReservedInstancesIds

        public ModifyReservedInstancesRequest withReservedInstancesIds​(Collection<String> reservedInstancesIds)

        The IDs of the Reserved Instances to modify.

        Parameters:
        reservedInstancesIds - The IDs of the Reserved Instances to modify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTargetConfigurations

        public List<ReservedInstancesConfiguration> getTargetConfigurations()

        The configuration settings for the Reserved Instances to modify.

        Returns:
        The configuration settings for the Reserved Instances to modify.
      • setTargetConfigurations

        public void setTargetConfigurations​(Collection<ReservedInstancesConfiguration> targetConfigurations)

        The configuration settings for the Reserved Instances to modify.

        Parameters:
        targetConfigurations - The configuration settings for the Reserved Instances to modify.
      • withTargetConfigurations

        public ModifyReservedInstancesRequest withTargetConfigurations​(Collection<ReservedInstancesConfiguration> targetConfigurations)

        The configuration settings for the Reserved Instances to modify.

        Parameters:
        targetConfigurations - The configuration settings for the Reserved Instances to modify.
        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