Class DescribeVolumesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.DescribeVolumesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeVolumesRequest

      public DescribeVolumesRequest()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DescribeVolumesRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: