Class DescribeVolumesRequest

    • Constructor Detail

      • DescribeVolumesRequest

        public DescribeVolumesRequest()
    • Method Detail

      • setInstanceId

        public void setInstanceId​(String instanceId)

        The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.

        Parameters:
        instanceId - The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.
      • getInstanceId

        public String getInstanceId()

        The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.

        Returns:
        The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.
      • withInstanceId

        public DescribeVolumesRequest withInstanceId​(String instanceId)

        The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.

        Parameters:
        instanceId - The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStackId

        public void setStackId​(String stackId)

        A stack ID. The action describes the stack's registered Amazon EBS volumes.

        Parameters:
        stackId - A stack ID. The action describes the stack's registered Amazon EBS volumes.
      • getStackId

        public String getStackId()

        A stack ID. The action describes the stack's registered Amazon EBS volumes.

        Returns:
        A stack ID. The action describes the stack's registered Amazon EBS volumes.
      • withStackId

        public DescribeVolumesRequest withStackId​(String stackId)

        A stack ID. The action describes the stack's registered Amazon EBS volumes.

        Parameters:
        stackId - A stack ID. The action describes the stack's registered Amazon EBS volumes.
        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. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.

        Parameters:
        raidArrayId - The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.
      • getRaidArrayId

        public String getRaidArrayId()

        The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.

        Returns:
        The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.
      • withRaidArrayId

        public DescribeVolumesRequest withRaidArrayId​(String raidArrayId)

        The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.

        Parameters:
        raidArrayId - The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getVolumeIds

        public List<String> getVolumeIds()

        Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.

        Returns:
        Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
      • setVolumeIds

        public void setVolumeIds​(Collection<String> volumeIds)

        Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.

        Parameters:
        volumeIds - Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
      • withVolumeIds

        public DescribeVolumesRequest withVolumeIds​(String... volumeIds)

        Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.

        NOTE: This method appends the values to the existing list (if any). Use setVolumeIds(java.util.Collection) or withVolumeIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        volumeIds - Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withVolumeIds

        public DescribeVolumesRequest withVolumeIds​(Collection<String> volumeIds)

        Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.

        Parameters:
        volumeIds - Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
        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