Class Partnership
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.storage.Partnership
@ApiType("SoftLayer_Network_Storage_Partnership") public class Partnership extends Entity
A network storage partnership is used to link multiple volumes to each other. These partnerships describe replication hierarchies or link volume snapshots to their associated storage volume.
- See Also:
- SoftLayer_Network_Storage_Partnership
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Partnership.Mask
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendar
createDate
The date a partnership was created.protected boolean
createDateSpecified
protected GregorianCalendar
modifyDate
The date a partnership was last modified.protected boolean
modifyDateSpecified
protected Storage
partnerVolume
The associated child volume for a partnership.protected Long
partnerVolumeId
The child volume id which a partnership is associated with.protected boolean
partnerVolumeIdSpecified
protected Type
type
The type provides a standardized definition for a partnership.protected Storage
volume
The associated parent volume for a partnership.protected Long
volumeId
The volume id which a partnership is associated with.protected boolean
volumeIdSpecified
-
Constructor Summary
Constructors Constructor Description Partnership()
-
Method Summary
Modifier and Type Method Description GregorianCalendar
getCreateDate()
GregorianCalendar
getModifyDate()
Storage
getPartnerVolume()
Long
getPartnerVolumeId()
Type
getType()
Storage
getVolume()
Long
getVolumeId()
boolean
isCreateDateSpecified()
boolean
isModifyDateSpecified()
boolean
isPartnerVolumeIdSpecified()
boolean
isVolumeIdSpecified()
void
setCreateDate(GregorianCalendar createDate)
void
setModifyDate(GregorianCalendar modifyDate)
void
setPartnerVolume(Storage partnerVolume)
void
setPartnerVolumeId(Long partnerVolumeId)
void
setType(Type type)
void
setVolume(Storage volume)
void
setVolumeId(Long volumeId)
void
unsetCreateDate()
void
unsetModifyDate()
void
unsetPartnerVolumeId()
void
unsetVolumeId()
-
Field Details
-
partnerVolume
The associated child volume for a partnership. -
type
The type provides a standardized definition for a partnership. -
volume
The associated parent volume for a partnership. -
createDate
The date a partnership was created. -
createDateSpecified
protected boolean createDateSpecified -
modifyDate
The date a partnership was last modified. -
modifyDateSpecified
protected boolean modifyDateSpecified -
partnerVolumeId
The child volume id which a partnership is associated with. -
partnerVolumeIdSpecified
protected boolean partnerVolumeIdSpecified -
volumeId
The volume id which a partnership is associated with. -
volumeIdSpecified
protected boolean volumeIdSpecified
-
-
Constructor Details
-
Partnership
public Partnership()
-
-
Method Details
-
getPartnerVolume
-
setPartnerVolume
-
getType
-
setType
-
getVolume
-
setVolume
-
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getPartnerVolumeId
-
setPartnerVolumeId
-
isPartnerVolumeIdSpecified
public boolean isPartnerVolumeIdSpecified() -
unsetPartnerVolumeId
public void unsetPartnerVolumeId() -
getVolumeId
-
setVolumeId
-
isVolumeIdSpecified
public boolean isVolumeIdSpecified() -
unsetVolumeId
public void unsetVolumeId()
-