Package com.softlayer.api.service.event
Class Log
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.event.Log
-
@ApiType("SoftLayer_Event_Log") public class Log extends Entity
The SoftLayer_Event_Log data type contains an event detail occurred upon various SoftLayer resources.- See Also:
- SoftLayer_Event_Log
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Log.Mask
static interface
Log.Service
Event Log service lets you find interesting events related to various SoftLayer products and services such as hardware, virtual server or DNS.static interface
Log.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
accountId
Account id with which the event is associatedprotected boolean
accountIdSpecified
protected GregorianCalendar
eventCreateDate
Event creation date in millisecond precisionprotected boolean
eventCreateDateSpecified
protected String
eventName
Event name such as "reboot", "cancel", "update host" and so on.protected boolean
eventNameSpecified
protected String
ipAddress
The remote IP Address that made the requestprotected boolean
ipAddressSpecified
protected String
label
Label or description of the event objectprotected boolean
labelSpecified
protected String
metaData
Meta data for an event in JSON stringprotected boolean
metaDataSpecified
protected Long
objectId
Event object idprotected boolean
objectIdSpecified
protected String
objectName
Event object name such as "server", "dns" and so on.protected boolean
objectNameSpecified
protected String
openIdConnectUserName
OpenIdConnectUserName of the customer who initiated the eventprotected boolean
openIdConnectUserNameSpecified
protected Entity
resource
A resource object that is associated with the eventprotected boolean
resourceSpecified
protected String
traceId
A unique trace id.protected boolean
traceIdSpecified
protected Customer
user
protected Long
userId
Id of customer who initiated the eventprotected boolean
userIdSpecified
protected String
username
Customer username who initiated the eventprotected boolean
usernameSpecified
protected String
userType
Type of user that triggered the event.protected boolean
userTypeSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
user
@ApiProperty protected Customer user
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
Account id with which the event is associated
-
accountIdSpecified
protected boolean accountIdSpecified
-
eventCreateDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar eventCreateDate
Event creation date in millisecond precision
-
eventCreateDateSpecified
protected boolean eventCreateDateSpecified
-
eventName
@ApiProperty(canBeNullOrNotSet=true) protected String eventName
Event name such as "reboot", "cancel", "update host" and so on.
-
eventNameSpecified
protected boolean eventNameSpecified
-
ipAddress
@ApiProperty(canBeNullOrNotSet=true) protected String ipAddress
The remote IP Address that made the request
-
ipAddressSpecified
protected boolean ipAddressSpecified
-
label
@ApiProperty(canBeNullOrNotSet=true) protected String label
Label or description of the event object
-
labelSpecified
protected boolean labelSpecified
-
metaData
@ApiProperty(canBeNullOrNotSet=true) protected String metaData
Meta data for an event in JSON string
-
metaDataSpecified
protected boolean metaDataSpecified
-
objectId
@ApiProperty(canBeNullOrNotSet=true) protected Long objectId
Event object id
-
objectIdSpecified
protected boolean objectIdSpecified
-
objectName
@ApiProperty(canBeNullOrNotSet=true) protected String objectName
Event object name such as "server", "dns" and so on.
-
objectNameSpecified
protected boolean objectNameSpecified
-
openIdConnectUserName
@ApiProperty(canBeNullOrNotSet=true) protected String openIdConnectUserName
OpenIdConnectUserName of the customer who initiated the event
-
openIdConnectUserNameSpecified
protected boolean openIdConnectUserNameSpecified
-
resource
@ApiProperty(canBeNullOrNotSet=true) protected Entity resource
A resource object that is associated with the event
-
resourceSpecified
protected boolean resourceSpecified
-
traceId
@ApiProperty(canBeNullOrNotSet=true) protected String traceId
A unique trace id. Multiple event can be grouped by a trace id.
-
traceIdSpecified
protected boolean traceIdSpecified
-
userId
@ApiProperty(canBeNullOrNotSet=true) protected Long userId
Id of customer who initiated the event
-
userIdSpecified
protected boolean userIdSpecified
-
userType
@ApiProperty(canBeNullOrNotSet=true) protected String userType
Type of user that triggered the event. User type can be CUSTOMER, EMPLOYEE or SYSTEM.
-
userTypeSpecified
protected boolean userTypeSpecified
-
username
@ApiProperty(canBeNullOrNotSet=true) protected String username
Customer username who initiated the event
-
usernameSpecified
protected boolean usernameSpecified
-
-
Method Detail
-
getUser
public Customer getUser()
-
setUser
public void setUser(Customer user)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getEventCreateDate
public GregorianCalendar getEventCreateDate()
-
setEventCreateDate
public void setEventCreateDate(GregorianCalendar eventCreateDate)
-
isEventCreateDateSpecified
public boolean isEventCreateDateSpecified()
-
unsetEventCreateDate
public void unsetEventCreateDate()
-
getEventName
public String getEventName()
-
setEventName
public void setEventName(String eventName)
-
isEventNameSpecified
public boolean isEventNameSpecified()
-
unsetEventName
public void unsetEventName()
-
getIpAddress
public String getIpAddress()
-
setIpAddress
public void setIpAddress(String ipAddress)
-
isIpAddressSpecified
public boolean isIpAddressSpecified()
-
unsetIpAddress
public void unsetIpAddress()
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
isLabelSpecified
public boolean isLabelSpecified()
-
unsetLabel
public void unsetLabel()
-
getMetaData
public String getMetaData()
-
setMetaData
public void setMetaData(String metaData)
-
isMetaDataSpecified
public boolean isMetaDataSpecified()
-
unsetMetaData
public void unsetMetaData()
-
getObjectId
public Long getObjectId()
-
setObjectId
public void setObjectId(Long objectId)
-
isObjectIdSpecified
public boolean isObjectIdSpecified()
-
unsetObjectId
public void unsetObjectId()
-
getObjectName
public String getObjectName()
-
setObjectName
public void setObjectName(String objectName)
-
isObjectNameSpecified
public boolean isObjectNameSpecified()
-
unsetObjectName
public void unsetObjectName()
-
getOpenIdConnectUserName
public String getOpenIdConnectUserName()
-
setOpenIdConnectUserName
public void setOpenIdConnectUserName(String openIdConnectUserName)
-
isOpenIdConnectUserNameSpecified
public boolean isOpenIdConnectUserNameSpecified()
-
unsetOpenIdConnectUserName
public void unsetOpenIdConnectUserName()
-
getResource
public Entity getResource()
-
setResource
public void setResource(Entity resource)
-
isResourceSpecified
public boolean isResourceSpecified()
-
unsetResource
public void unsetResource()
-
getTraceId
public String getTraceId()
-
setTraceId
public void setTraceId(String traceId)
-
isTraceIdSpecified
public boolean isTraceIdSpecified()
-
unsetTraceId
public void unsetTraceId()
-
getUserId
public Long getUserId()
-
setUserId
public void setUserId(Long userId)
-
isUserIdSpecified
public boolean isUserIdSpecified()
-
unsetUserId
public void unsetUserId()
-
getUserType
public String getUserType()
-
setUserType
public void setUserType(String userType)
-
isUserTypeSpecified
public boolean isUserTypeSpecified()
-
unsetUserType
public void unsetUserType()
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
isUsernameSpecified
public boolean isUsernameSpecified()
-
unsetUsername
public void unsetUsername()
-
service
public static Log.Service service(ApiClient client)
-
-