Class Disk
java.lang.Object
com.amazonaws.services.storagegateway.model.Disk
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
void
setDiskAllocationResource
(String diskAllocationResource) void
setDiskAllocationType
(String diskAllocationType) void
void
setDiskNode
(String diskNode) void
setDiskPath
(String diskPath) void
setDiskSizeInBytes
(Long diskSizeInBytes) void
setDiskStatus
(String diskStatus) toString()
Returns a string representation of this object; useful for testing and debugging.withDiskAllocationResource
(String diskAllocationResource) withDiskAllocationType
(String diskAllocationType) withDiskId
(String diskId) withDiskNode
(String diskNode) withDiskPath
(String diskPath) withDiskSizeInBytes
(Long diskSizeInBytes) withDiskStatus
(String diskStatus)
-
Constructor Details
-
Disk
public Disk()
-
-
Method Details
-
setDiskId
- Parameters:
diskId
-
-
getDiskId
- Returns:
-
withDiskId
- Parameters:
diskId
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskPath
- Parameters:
diskPath
-
-
getDiskPath
- Returns:
-
withDiskPath
- Parameters:
diskPath
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskNode
- Parameters:
diskNode
-
-
getDiskNode
- Returns:
-
withDiskNode
- Parameters:
diskNode
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskStatus
- Parameters:
diskStatus
-
-
getDiskStatus
- Returns:
-
withDiskStatus
- Parameters:
diskStatus
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskSizeInBytes
- Parameters:
diskSizeInBytes
-
-
getDiskSizeInBytes
- Returns:
-
withDiskSizeInBytes
- Parameters:
diskSizeInBytes
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskAllocationType
- Parameters:
diskAllocationType
-
-
getDiskAllocationType
- Returns:
-
withDiskAllocationType
- Parameters:
diskAllocationType
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskAllocationResource
- Parameters:
diskAllocationResource
-
-
getDiskAllocationResource
- Returns:
-
withDiskAllocationResource
- Parameters:
diskAllocationResource
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-