Interface GetVolumeResponse.Builder

  • Method Details

    • volumeId

      GetVolumeResponse.Builder volumeId(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.
    • farmId

      The farm ID of the farm that contains the fleet.

      Parameters:
      farmId - The farm ID of the farm that contains the fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fleetId

      The fleet ID of the fleet that contains the volume.

      Parameters:
      fleetId - The fleet ID of the fleet that contains the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the volume.

      Parameters:
      state - The state of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the volume.

      Parameters:
      state - The state of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sizeGiB

      The volume size in GiB.

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

      GetVolumeResponse.Builder availabilityZoneId(String availabilityZoneId)

      The Availability Zone ID of the volume.

      Parameters:
      availabilityZoneId - The Availability Zone ID of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachedWorkerId

      GetVolumeResponse.Builder attachedWorkerId(String attachedWorkerId)

      The worker ID of the worker the volume is attached to.

      Parameters:
      attachedWorkerId - The worker ID of the worker the volume is attached to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeType

      GetVolumeResponse.Builder volumeType(String volumeType)

      The EBS volume type.

      Parameters:
      volumeType - The EBS volume type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • volumeType

      GetVolumeResponse.Builder volumeType(EbsVolumeType volumeType)

      The EBS volume type.

      Parameters:
      volumeType - The EBS volume type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • iops

      The IOPS of the volume.

      Parameters:
      iops - The IOPS of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throughputMiB

      GetVolumeResponse.Builder throughputMiB(Integer throughputMiB)

      The throughput of the volume in MiB.

      Parameters:
      throughputMiB - The throughput of the volume in MiB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetVolumeResponse.Builder createdAt(Instant createdAt)

      The date and time the resource was created.

      Parameters:
      createdAt - The date and time the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastAssignedAt

      GetVolumeResponse.Builder lastAssignedAt(Instant lastAssignedAt)

      The date and time the volume was last assigned to a worker.

      Parameters:
      lastAssignedAt - The date and time the volume was last assigned to a worker.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastReleasedAt

      GetVolumeResponse.Builder lastReleasedAt(Instant lastReleasedAt)

      The date and time the volume was last released from a worker.

      Parameters:
      lastReleasedAt - The date and time the volume was last released from a worker.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      GetVolumeResponse.Builder expiresAt(Instant expiresAt)

      The date and time the volume expires and will be deleted.

      Parameters:
      expiresAt - The date and time the volume expires and will be deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.