@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutMobileDeviceAccessOverrideRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutMobileDeviceAccessOverrideRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutMobileDeviceAccessOverrideRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the override.
|
String |
getDeviceId()
The mobile device for which you create the override.
|
String |
getEffect()
The effect of the override,
ALLOW or DENY. |
String |
getOrganizationId()
Identifies the WorkMail organization for which you create the override.
|
String |
getUserId()
The WorkMail user for which you create the override.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the override.
|
void |
setDeviceId(String deviceId)
The mobile device for which you create the override.
|
void |
setEffect(String effect)
The effect of the override,
ALLOW or DENY. |
void |
setOrganizationId(String organizationId)
Identifies the WorkMail organization for which you create the override.
|
void |
setUserId(String userId)
The WorkMail user for which you create the override.
|
String |
toString()
Returns a string representation of this object.
|
PutMobileDeviceAccessOverrideRequest |
withDescription(String description)
A description of the override.
|
PutMobileDeviceAccessOverrideRequest |
withDeviceId(String deviceId)
The mobile device for which you create the override.
|
PutMobileDeviceAccessOverrideRequest |
withEffect(MobileDeviceAccessRuleEffect effect)
The effect of the override,
ALLOW or DENY. |
PutMobileDeviceAccessOverrideRequest |
withEffect(String effect)
The effect of the override,
ALLOW or DENY. |
PutMobileDeviceAccessOverrideRequest |
withOrganizationId(String organizationId)
Identifies the WorkMail organization for which you create the override.
|
PutMobileDeviceAccessOverrideRequest |
withUserId(String userId)
The WorkMail user for which you create the override.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic PutMobileDeviceAccessOverrideRequest()
public void setOrganizationId(String organizationId)
Identifies the WorkMail organization for which you create the override.
organizationId - Identifies the WorkMail organization for which you create the override.public String getOrganizationId()
Identifies the WorkMail organization for which you create the override.
public PutMobileDeviceAccessOverrideRequest withOrganizationId(String organizationId)
Identifies the WorkMail organization for which you create the override.
organizationId - Identifies the WorkMail organization for which you create the override.public void setUserId(String userId)
The WorkMail user for which you create the override. Accepts the following types of user identities:
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
userId - The WorkMail user for which you create the override. Accepts the following types of user identities:
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
public String getUserId()
The WorkMail user for which you create the override. Accepts the following types of user identities:
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
public PutMobileDeviceAccessOverrideRequest withUserId(String userId)
The WorkMail user for which you create the override. Accepts the following types of user identities:
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
userId - The WorkMail user for which you create the override. Accepts the following types of user identities:
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
public void setDeviceId(String deviceId)
The mobile device for which you create the override. DeviceId is case insensitive.
deviceId - The mobile device for which you create the override. DeviceId is case insensitive.public String getDeviceId()
The mobile device for which you create the override. DeviceId is case insensitive.
DeviceId is case insensitive.public PutMobileDeviceAccessOverrideRequest withDeviceId(String deviceId)
The mobile device for which you create the override. DeviceId is case insensitive.
deviceId - The mobile device for which you create the override. DeviceId is case insensitive.public void setEffect(String effect)
The effect of the override, ALLOW or DENY.
effect - The effect of the override, ALLOW or DENY.MobileDeviceAccessRuleEffectpublic String getEffect()
The effect of the override, ALLOW or DENY.
ALLOW or DENY.MobileDeviceAccessRuleEffectpublic PutMobileDeviceAccessOverrideRequest withEffect(String effect)
The effect of the override, ALLOW or DENY.
effect - The effect of the override, ALLOW or DENY.MobileDeviceAccessRuleEffectpublic PutMobileDeviceAccessOverrideRequest withEffect(MobileDeviceAccessRuleEffect effect)
The effect of the override, ALLOW or DENY.
effect - The effect of the override, ALLOW or DENY.MobileDeviceAccessRuleEffectpublic void setDescription(String description)
A description of the override.
description - A description of the override.public String getDescription()
A description of the override.
public PutMobileDeviceAccessOverrideRequest withDescription(String description)
A description of the override.
description - A description of the override.public String toString()
toString in class ObjectObject.toString()public PutMobileDeviceAccessOverrideRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()