java.lang.Object
com.amazonaws.services.storagegateway.model.Disk
All Implemented Interfaces:
Serializable, Cloneable

public class Disk extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • Disk

      public Disk()
  • Method Details

    • setDiskId

      public void setDiskId(String diskId)
      Parameters:
      diskId -
    • getDiskId

      public String getDiskId()
      Returns:
    • withDiskId

      public Disk withDiskId(String diskId)
      Parameters:
      diskId -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDiskPath

      public void setDiskPath(String diskPath)
      Parameters:
      diskPath -
    • getDiskPath

      public String getDiskPath()
      Returns:
    • withDiskPath

      public Disk withDiskPath(String diskPath)
      Parameters:
      diskPath -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDiskNode

      public void setDiskNode(String diskNode)
      Parameters:
      diskNode -
    • getDiskNode

      public String getDiskNode()
      Returns:
    • withDiskNode

      public Disk withDiskNode(String diskNode)
      Parameters:
      diskNode -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDiskStatus

      public void setDiskStatus(String diskStatus)
      Parameters:
      diskStatus -
    • getDiskStatus

      public String getDiskStatus()
      Returns:
    • withDiskStatus

      public Disk withDiskStatus(String diskStatus)
      Parameters:
      diskStatus -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDiskSizeInBytes

      public void setDiskSizeInBytes(Long diskSizeInBytes)
      Parameters:
      diskSizeInBytes -
    • getDiskSizeInBytes

      public Long getDiskSizeInBytes()
      Returns:
    • withDiskSizeInBytes

      public Disk withDiskSizeInBytes(Long diskSizeInBytes)
      Parameters:
      diskSizeInBytes -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDiskAllocationType

      public void setDiskAllocationType(String diskAllocationType)
      Parameters:
      diskAllocationType -
    • getDiskAllocationType

      public String getDiskAllocationType()
      Returns:
    • withDiskAllocationType

      public Disk withDiskAllocationType(String diskAllocationType)
      Parameters:
      diskAllocationType -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDiskAllocationResource

      public void setDiskAllocationResource(String diskAllocationResource)
      Parameters:
      diskAllocationResource -
    • getDiskAllocationResource

      public String getDiskAllocationResource()
      Returns:
    • withDiskAllocationResource

      public Disk withDiskAllocationResource(String diskAllocationResource)
      Parameters:
      diskAllocationResource -
      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 Disk clone()
      Overrides:
      clone in class Object