Class Volume

    • Constructor Detail

      • Volume

        public Volume()
    • Method Detail

      • setVolumeId

        public void setVolumeId​(String volumeId)

        The volume ID.

        Parameters:
        volumeId - The volume ID.
      • getVolumeId

        public String getVolumeId()

        The volume ID.

        Returns:
        The volume ID.
      • withVolumeId

        public Volume withVolumeId​(String volumeId)

        The volume ID.

        Parameters:
        volumeId - The volume ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2VolumeId

        public void setEc2VolumeId​(String ec2VolumeId)

        The Amazon EC2 volume ID.

        Parameters:
        ec2VolumeId - The Amazon EC2 volume ID.
      • getEc2VolumeId

        public String getEc2VolumeId()

        The Amazon EC2 volume ID.

        Returns:
        The Amazon EC2 volume ID.
      • withEc2VolumeId

        public Volume withEc2VolumeId​(String ec2VolumeId)

        The Amazon EC2 volume ID.

        Parameters:
        ec2VolumeId - The Amazon EC2 volume ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        The volume name.

        Parameters:
        name - The volume name.
      • getName

        public String getName()

        The volume name.

        Returns:
        The volume name.
      • withName

        public Volume withName​(String name)

        The volume name.

        Parameters:
        name - The volume name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRaidArrayId

        public void setRaidArrayId​(String raidArrayId)

        The RAID array ID.

        Parameters:
        raidArrayId - The RAID array ID.
      • getRaidArrayId

        public String getRaidArrayId()

        The RAID array ID.

        Returns:
        The RAID array ID.
      • withRaidArrayId

        public Volume withRaidArrayId​(String raidArrayId)

        The RAID array ID.

        Parameters:
        raidArrayId - The RAID array ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceId

        public void setInstanceId​(String instanceId)

        The instance ID.

        Parameters:
        instanceId - The instance ID.
      • getInstanceId

        public String getInstanceId()

        The instance ID.

        Returns:
        The instance ID.
      • withInstanceId

        public Volume withInstanceId​(String instanceId)

        The instance ID.

        Parameters:
        instanceId - The instance ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withStatus

        public Volume withStatus​(String status)

        The value returned by DescribeVolumes.

        Parameters:
        status - The value returned by DescribeVolumes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSize

        public void setSize​(Integer size)

        The volume size.

        Parameters:
        size - The volume size.
      • getSize

        public Integer getSize()

        The volume size.

        Returns:
        The volume size.
      • withSize

        public Volume withSize​(Integer size)

        The volume size.

        Parameters:
        size - The volume size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDevice

        public void setDevice​(String device)

        The device name.

        Parameters:
        device - The device name.
      • getDevice

        public String getDevice()

        The device name.

        Returns:
        The device name.
      • withDevice

        public Volume withDevice​(String device)

        The device name.

        Parameters:
        device - The device name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMountPoint

        public void setMountPoint​(String mountPoint)

        The volume mount point. For example, "/mnt/disk1".

        Parameters:
        mountPoint - The volume mount point. For example, "/mnt/disk1".
      • getMountPoint

        public String getMountPoint()

        The volume mount point. For example, "/mnt/disk1".

        Returns:
        The volume mount point. For example, "/mnt/disk1".
      • withMountPoint

        public Volume withMountPoint​(String mountPoint)

        The volume mount point. For example, "/mnt/disk1".

        Parameters:
        mountPoint - The volume mount point. For example, "/mnt/disk1".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRegion

        public Volume withRegion​(String region)

        The AWS region. For more information about AWS regions, see Regions and Endpoints.

        Parameters:
        region - The AWS region. For more information about AWS regions, see Regions and Endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The volume Availability Zone. For more information, see Regions and Endpoints.

        Parameters:
        availabilityZone - The volume Availability Zone. For more information, see Regions and Endpoints.
      • withAvailabilityZone

        public Volume withAvailabilityZone​(String availabilityZone)

        The volume Availability Zone. For more information, see Regions and Endpoints.

        Parameters:
        availabilityZone - The volume Availability Zone. For more information, see Regions and Endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVolumeType

        public void setVolumeType​(String volumeType)

        The volume type, standard or PIOPS.

        Parameters:
        volumeType - The volume type, standard or PIOPS.
      • getVolumeType

        public String getVolumeType()

        The volume type, standard or PIOPS.

        Returns:
        The volume type, standard or PIOPS.
      • withVolumeType

        public Volume withVolumeType​(String volumeType)

        The volume type, standard or PIOPS.

        Parameters:
        volumeType - The volume type, standard or PIOPS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIops

        public void setIops​(Integer iops)

        For PIOPS volumes, the IOPS per disk.

        Parameters:
        iops - For PIOPS volumes, the IOPS per disk.
      • getIops

        public Integer getIops()

        For PIOPS volumes, the IOPS per disk.

        Returns:
        For PIOPS volumes, the IOPS per disk.
      • withIops

        public Volume withIops​(Integer iops)

        For PIOPS volumes, the IOPS per disk.

        Parameters:
        iops - For PIOPS volumes, the IOPS per disk.
        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