Class Window
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.provisioning.maintenance.Window
@ApiType("SoftLayer_Provisioning_Maintenance_Window") public class Window extends Entity
The SoftLayer_Provisioning_Maintenance_Window represent a time window that SoftLayer performs a hardware or software maintenance and upgrades.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Window.Mask
static interface
Window.Service
The SoftLayer_Provisioning_Maintenance_Window service returns available maintenance windows at SoftLayer data centers.static interface
Window.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendar
beginDate
The date and time a maintenance window is scheduled to begin.protected boolean
beginDateSpecified
protected Long
dayOfWeek
An ISO-8601 numeric representation of the day of the week that a maintenance window is performed.protected boolean
dayOfWeekSpecified
protected GregorianCalendar
endDate
The date and time a maintenance window is scheduled to end.protected boolean
endDateSpecified
protected Long
id
Id of the maintenance windowprotected boolean
idSpecified
protected Long
locationId
An internal identifier of the location (data center) record that a maintenance window takes place in.protected boolean
locationIdSpecified
protected Long
portalTzId
An internal identifier of the datacenter timezone.protected boolean
portalTzIdSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Window()
-
Method Summary
Modifier and Type Method Description Window.Service
asService(ApiClient client)
GregorianCalendar
getBeginDate()
Long
getDayOfWeek()
GregorianCalendar
getEndDate()
Long
getId()
Long
getLocationId()
Long
getPortalTzId()
boolean
isBeginDateSpecified()
boolean
isDayOfWeekSpecified()
boolean
isEndDateSpecified()
boolean
isIdSpecified()
boolean
isLocationIdSpecified()
boolean
isPortalTzIdSpecified()
static Window.Service
service(ApiClient client)
static Window.Service
service(ApiClient client, Long id)
void
setBeginDate(GregorianCalendar beginDate)
void
setDayOfWeek(Long dayOfWeek)
void
setEndDate(GregorianCalendar endDate)
void
setId(Long id)
void
setLocationId(Long locationId)
void
setPortalTzId(Long portalTzId)
void
unsetBeginDate()
void
unsetDayOfWeek()
void
unsetEndDate()
void
unsetId()
void
unsetLocationId()
void
unsetPortalTzId()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
beginDate
The date and time a maintenance window is scheduled to begin. -
beginDateSpecified
protected boolean beginDateSpecified -
dayOfWeek
An ISO-8601 numeric representation of the day of the week that a maintenance window is performed. 1: Monday, 7: Sunday -
dayOfWeekSpecified
protected boolean dayOfWeekSpecified -
endDate
The date and time a maintenance window is scheduled to end. -
endDateSpecified
protected boolean endDateSpecified -
id
Id of the maintenance window -
idSpecified
protected boolean idSpecified -
locationId
An internal identifier of the location (data center) record that a maintenance window takes place in. -
locationIdSpecified
protected boolean locationIdSpecified -
portalTzId
An internal identifier of the datacenter timezone. -
portalTzIdSpecified
protected boolean portalTzIdSpecified
-
-
Constructor Details
-
Window
public Window()
-
-
Method Details
-
getBeginDate
-
setBeginDate
-
isBeginDateSpecified
public boolean isBeginDateSpecified() -
unsetBeginDate
public void unsetBeginDate() -
getDayOfWeek
-
setDayOfWeek
-
isDayOfWeekSpecified
public boolean isDayOfWeekSpecified() -
unsetDayOfWeek
public void unsetDayOfWeek() -
getEndDate
-
setEndDate
-
isEndDateSpecified
public boolean isEndDateSpecified() -
unsetEndDate
public void unsetEndDate() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getLocationId
-
setLocationId
-
isLocationIdSpecified
public boolean isLocationIdSpecified() -
unsetLocationId
public void unsetLocationId() -
getPortalTzId
-
setPortalTzId
-
isPortalTzIdSpecified
public boolean isPortalTzIdSpecified() -
unsetPortalTzId
public void unsetPortalTzId() -
asService
-
service
-
service
-