Interface PutMobileDeviceAccessOverrideRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,,PutMobileDeviceAccessOverrideRequest> SdkBuilder<PutMobileDeviceAccessOverrideRequest.Builder,,PutMobileDeviceAccessOverrideRequest> SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
PutMobileDeviceAccessOverrideRequest
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,ALLOWorDENY.effect(MobileDeviceAccessRuleEffect effect) The effect of the override,ALLOWorDENY.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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-123456789012orS-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-123456789012orS-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.
DeviceIdis case insensitive.- Parameters:
deviceId- The mobile device for which you create the override.DeviceIdis case insensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
The effect of the override,
ALLOWorDENY.- Parameters:
effect- The effect of the override,ALLOWorDENY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
The effect of the override,
ALLOWorDENY.- Parameters:
effect- The effect of the override,ALLOWorDENY.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-