@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MobileDeviceAccessOverride extends Object implements Serializable, Cloneable, StructuredPojo
The override object.
Constructor and Description |
---|
MobileDeviceAccessOverride() |
Modifier and Type | Method and Description |
---|---|
MobileDeviceAccessOverride |
clone() |
boolean |
equals(Object obj) |
Date |
getDateCreated()
The date the override was first created.
|
Date |
getDateModified()
The date the override was last modified.
|
String |
getDescription()
A description of the override.
|
String |
getDeviceId()
The device to which the override applies.
|
String |
getEffect()
The effect of the override,
ALLOW or DENY . |
String |
getUserId()
The WorkMail user to which the access override applies.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDateCreated(Date dateCreated)
The date the override was first created.
|
void |
setDateModified(Date dateModified)
The date the override was last modified.
|
void |
setDescription(String description)
A description of the override.
|
void |
setDeviceId(String deviceId)
The device to which the override applies.
|
void |
setEffect(String effect)
The effect of the override,
ALLOW or DENY . |
void |
setUserId(String userId)
The WorkMail user to which the access override applies.
|
String |
toString()
Returns a string representation of this object.
|
MobileDeviceAccessOverride |
withDateCreated(Date dateCreated)
The date the override was first created.
|
MobileDeviceAccessOverride |
withDateModified(Date dateModified)
The date the override was last modified.
|
MobileDeviceAccessOverride |
withDescription(String description)
A description of the override.
|
MobileDeviceAccessOverride |
withDeviceId(String deviceId)
The device to which the override applies.
|
MobileDeviceAccessOverride |
withEffect(MobileDeviceAccessRuleEffect effect)
The effect of the override,
ALLOW or DENY . |
MobileDeviceAccessOverride |
withEffect(String effect)
The effect of the override,
ALLOW or DENY . |
MobileDeviceAccessOverride |
withUserId(String userId)
The WorkMail user to which the access override applies.
|
public void setUserId(String userId)
The WorkMail user to which the access override applies.
userId
- The WorkMail user to which the access override applies.public String getUserId()
The WorkMail user to which the access override applies.
public MobileDeviceAccessOverride withUserId(String userId)
The WorkMail user to which the access override applies.
userId
- The WorkMail user to which the access override applies.public void setDeviceId(String deviceId)
The device to which the override applies.
deviceId
- The device to which the override applies.public String getDeviceId()
The device to which the override applies.
public MobileDeviceAccessOverride withDeviceId(String deviceId)
The device to which the override applies.
deviceId
- The device to which the override applies.public void setEffect(String effect)
The effect of the override, ALLOW
or DENY
.
effect
- The effect of the override, ALLOW
or DENY
.MobileDeviceAccessRuleEffect
public String getEffect()
The effect of the override, ALLOW
or DENY
.
ALLOW
or DENY
.MobileDeviceAccessRuleEffect
public MobileDeviceAccessOverride withEffect(String effect)
The effect of the override, ALLOW
or DENY
.
effect
- The effect of the override, ALLOW
or DENY
.MobileDeviceAccessRuleEffect
public MobileDeviceAccessOverride withEffect(MobileDeviceAccessRuleEffect effect)
The effect of the override, ALLOW
or DENY
.
effect
- The effect of the override, ALLOW
or DENY
.MobileDeviceAccessRuleEffect
public void setDescription(String description)
A description of the override.
description
- A description of the override.public String getDescription()
A description of the override.
public MobileDeviceAccessOverride withDescription(String description)
A description of the override.
description
- A description of the override.public void setDateCreated(Date dateCreated)
The date the override was first created.
dateCreated
- The date the override was first created.public Date getDateCreated()
The date the override was first created.
public MobileDeviceAccessOverride withDateCreated(Date dateCreated)
The date the override was first created.
dateCreated
- The date the override was first created.public void setDateModified(Date dateModified)
The date the override was last modified.
dateModified
- The date the override was last modified.public Date getDateModified()
The date the override was last modified.
public MobileDeviceAccessOverride withDateModified(Date dateModified)
The date the override was last modified.
dateModified
- The date the override was last modified.public String toString()
toString
in class Object
Object.toString()
public MobileDeviceAccessOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.