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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Partnership()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
partnerVolume
@ApiProperty protected Storage partnerVolume
The associated child volume for a partnership.
-
type
@ApiProperty protected Type type
The type provides a standardized definition for a partnership.
-
volume
@ApiProperty protected Storage volume
The associated parent volume for a partnership.
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date a partnership was created.
-
createDateSpecified
protected boolean createDateSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The date a partnership was last modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
partnerVolumeId
@ApiProperty(canBeNullOrNotSet=true) protected Long partnerVolumeId
The child volume id which a partnership is associated with.
-
partnerVolumeIdSpecified
protected boolean partnerVolumeIdSpecified
-
volumeId
@ApiProperty(canBeNullOrNotSet=true) protected Long volumeId
The volume id which a partnership is associated with.
-
volumeIdSpecified
protected boolean volumeIdSpecified
-
-
Method Detail
-
getPartnerVolume
public Storage getPartnerVolume()
-
setPartnerVolume
public void setPartnerVolume(Storage partnerVolume)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getVolume
public Storage getVolume()
-
setVolume
public void setVolume(Storage volume)
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getPartnerVolumeId
public Long getPartnerVolumeId()
-
setPartnerVolumeId
public void setPartnerVolumeId(Long partnerVolumeId)
-
isPartnerVolumeIdSpecified
public boolean isPartnerVolumeIdSpecified()
-
unsetPartnerVolumeId
public void unsetPartnerVolumeId()
-
getVolumeId
public Long getVolumeId()
-
setVolumeId
public void setVolumeId(Long volumeId)
-
isVolumeIdSpecified
public boolean isVolumeIdSpecified()
-
unsetVolumeId
public void unsetVolumeId()
-
-