Interface ListVolumesResponse.Builder

  • Method Details

    • gatewayARN

      ListVolumesResponse.Builder gatewayARN(String gatewayARN)
      Sets the value of the GatewayARN property for this object.
      Parameters:
      gatewayARN - The new value for the GatewayARN property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marker

      Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.

      Parameters:
      marker - Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeInfos

      An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

      Parameters:
      volumeInfos - An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeInfos

      ListVolumesResponse.Builder volumeInfos(VolumeInfo... volumeInfos)

      An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

      Parameters:
      volumeInfos - An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeInfos

      An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

      This is a convenience method that creates an instance of the VolumeInfo.Builder avoiding the need to create one manually via VolumeInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to volumeInfos(List<VolumeInfo>).

      Parameters:
      volumeInfos - a consumer that will call methods on VolumeInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: