public class Disk extends Object implements Serializable
| Constructor and Description |
|---|
Disk() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDiskAllocationResource()
Returns the value of the DiskAllocationResource property for this
object.
|
String |
getDiskAllocationType()
Returns the value of the DiskAllocationType property for this object.
|
String |
getDiskId()
Returns the value of the DiskId property for this object.
|
String |
getDiskNode()
Returns the value of the DiskNode property for this object.
|
String |
getDiskPath()
Returns the value of the DiskPath property for this object.
|
Long |
getDiskSizeInBytes()
Returns the value of the DiskSizeInBytes property for this object.
|
int |
hashCode() |
void |
setDiskAllocationResource(String diskAllocationResource)
Sets the value of the DiskAllocationResource property for this object.
|
void |
setDiskAllocationType(String diskAllocationType)
Sets the value of the DiskAllocationType property for this object.
|
void |
setDiskId(String diskId)
Sets the value of the DiskId property for this object.
|
void |
setDiskNode(String diskNode)
Sets the value of the DiskNode property for this object.
|
void |
setDiskPath(String diskPath)
Sets the value of the DiskPath property for this object.
|
void |
setDiskSizeInBytes(Long diskSizeInBytes)
Sets the value of the DiskSizeInBytes property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Disk |
withDiskAllocationResource(String diskAllocationResource)
Sets the value of the DiskAllocationResource property for this object.
|
Disk |
withDiskAllocationType(String diskAllocationType)
Sets the value of the DiskAllocationType property for this object.
|
Disk |
withDiskId(String diskId)
Sets the value of the DiskId property for this object.
|
Disk |
withDiskNode(String diskNode)
Sets the value of the DiskNode property for this object.
|
Disk |
withDiskPath(String diskPath)
Sets the value of the DiskPath property for this object.
|
Disk |
withDiskSizeInBytes(Long diskSizeInBytes)
Sets the value of the DiskSizeInBytes property for this object.
|
public String getDiskId()
Constraints:
Length: 1 - 300
public void setDiskId(String diskId)
Constraints:
Length: 1 - 300
diskId - The new value for the DiskId property for this object.public Disk withDiskId(String diskId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 300
diskId - The new value for the DiskId property for this object.public String getDiskPath()
public void setDiskPath(String diskPath)
diskPath - The new value for the DiskPath property for this object.public Disk withDiskPath(String diskPath)
Returns a reference to this object so that method calls can be chained together.
diskPath - The new value for the DiskPath property for this object.public String getDiskNode()
public void setDiskNode(String diskNode)
diskNode - The new value for the DiskNode property for this object.public Disk withDiskNode(String diskNode)
Returns a reference to this object so that method calls can be chained together.
diskNode - The new value for the DiskNode property for this object.public Long getDiskSizeInBytes()
public void setDiskSizeInBytes(Long diskSizeInBytes)
diskSizeInBytes - The new value for the DiskSizeInBytes property for this object.public Disk withDiskSizeInBytes(Long diskSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
diskSizeInBytes - The new value for the DiskSizeInBytes property for this object.public String getDiskAllocationType()
Constraints:
Length: 3 - 100
public void setDiskAllocationType(String diskAllocationType)
Constraints:
Length: 3 - 100
diskAllocationType - The new value for the DiskAllocationType property for this object.public Disk withDiskAllocationType(String diskAllocationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 100
diskAllocationType - The new value for the DiskAllocationType property for this object.public String getDiskAllocationResource()
public void setDiskAllocationResource(String diskAllocationResource)
diskAllocationResource - The new value for the DiskAllocationResource property for this object.public Disk withDiskAllocationResource(String diskAllocationResource)
Returns a reference to this object so that method calls can be chained together.
diskAllocationResource - The new value for the DiskAllocationResource property for this object.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.