Class ReservedInstancesConfiguration

    • Constructor Detail

      • ReservedInstancesConfiguration

        public ReservedInstancesConfiguration()
    • Method Detail

      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The Availability Zone for the modified Reserved Instances.

        Parameters:
        availabilityZone - The Availability Zone for the modified Reserved Instances.
      • getAvailabilityZone

        public String getAvailabilityZone()

        The Availability Zone for the modified Reserved Instances.

        Returns:
        The Availability Zone for the modified Reserved Instances.
      • withAvailabilityZone

        public ReservedInstancesConfiguration withAvailabilityZone​(String availabilityZone)

        The Availability Zone for the modified Reserved Instances.

        Parameters:
        availabilityZone - The Availability Zone for the modified Reserved Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlatform

        public void setPlatform​(String platform)

        The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

        Parameters:
        platform - The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
      • getPlatform

        public String getPlatform()

        The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

        Returns:
        The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
      • withPlatform

        public ReservedInstancesConfiguration withPlatform​(String platform)

        The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

        Parameters:
        platform - The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceCount

        public void setInstanceCount​(Integer instanceCount)

        The number of modified Reserved Instances.

        Parameters:
        instanceCount - The number of modified Reserved Instances.
      • getInstanceCount

        public Integer getInstanceCount()

        The number of modified Reserved Instances.

        Returns:
        The number of modified Reserved Instances.
      • withInstanceCount

        public ReservedInstancesConfiguration withInstanceCount​(Integer instanceCount)

        The number of modified Reserved Instances.

        Parameters:
        instanceCount - The number of modified Reserved Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceType

        public void setInstanceType​(String instanceType)

        The instance type for the modified Reserved Instances.

        Parameters:
        instanceType - The instance type for the modified Reserved Instances.
        See Also:
        InstanceType
      • getInstanceType

        public String getInstanceType()

        The instance type for the modified Reserved Instances.

        Returns:
        The instance type for the modified Reserved Instances.
        See Also:
        InstanceType
      • withInstanceType

        public ReservedInstancesConfiguration withInstanceType​(String instanceType)

        The instance type for the modified Reserved Instances.

        Parameters:
        instanceType - The instance type for the modified Reserved Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType
      • setInstanceType

        public void setInstanceType​(InstanceType instanceType)

        The instance type for the modified Reserved Instances.

        Parameters:
        instanceType - The instance type for the modified Reserved Instances.
        See Also:
        InstanceType
      • withInstanceType

        public ReservedInstancesConfiguration withInstanceType​(InstanceType instanceType)

        The instance type for the modified Reserved Instances.

        Parameters:
        instanceType - The instance type for the modified Reserved Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType
      • 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