Interface PutMobileDeviceAccessOverrideRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,
,PutMobileDeviceAccessOverrideRequest> SdkBuilder<PutMobileDeviceAccessOverrideRequest.Builder,
,PutMobileDeviceAccessOverrideRequest> SdkPojo
,SdkRequest.Builder
,WorkMailRequest.Builder
- Enclosing class:
PutMobileDeviceAccessOverrideRequest
@Mutable
@NotThreadSafe
public static interface PutMobileDeviceAccessOverrideRequest.Builder
extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,PutMobileDeviceAccessOverrideRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the override.The mobile device for which you create the override.The effect of the override,ALLOW
orDENY
.effect
(MobileDeviceAccessRuleEffect effect) The effect of the override,ALLOW
orDENY
.organizationId
(String organizationId) Identifies the WorkMail organization for which you create the override.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The WorkMail user for which you create the override.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailRequest.Builder
build
-
Method Details
-
organizationId
Identifies the WorkMail organization for which you create the override.
- Parameters:
organizationId
- Identifies the WorkMail organization for which you create the override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The WorkMail user for which you create the override. Accepts the following types of user identities:
-
User ID:
12345678-1234-1234-1234-123456789012
orS-1-1-12-1234567890-123456789-123456789-1234
-
Email address:
user@domain.tld
-
User name:
user
- Parameters:
userId
- The WorkMail user for which you create the override. Accepts the following types of user identities:-
User ID:
12345678-1234-1234-1234-123456789012
orS-1-1-12-1234567890-123456789-123456789-1234
-
Email address:
user@domain.tld
-
User name:
user
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deviceId
The mobile device for which you create the override.
DeviceId
is case insensitive.- Parameters:
deviceId
- The mobile device for which you create the override.DeviceId
is case insensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
The effect of the override,
ALLOW
orDENY
.- Parameters:
effect
- The effect of the override,ALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
The effect of the override,
ALLOW
orDENY
.- Parameters:
effect
- The effect of the override,ALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the override.
- Parameters:
description
- A description of the override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutMobileDeviceAccessOverrideRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutMobileDeviceAccessOverrideRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-