Interface UpdateMobileDeviceAccessRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,
,UpdateMobileDeviceAccessRuleRequest> SdkBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,
,UpdateMobileDeviceAccessRuleRequest> SdkPojo
,SdkRequest.Builder
,WorkMailRequest.Builder
- Enclosing class:
UpdateMobileDeviceAccessRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The updated rule description.deviceModels
(String... deviceModels) Device models that the updated rule will match.deviceModels
(Collection<String> deviceModels) Device models that the updated rule will match.deviceOperatingSystems
(String... deviceOperatingSystems) Device operating systems that the updated rule will match.deviceOperatingSystems
(Collection<String> deviceOperatingSystems) Device operating systems that the updated rule will match.deviceTypes
(String... deviceTypes) Device types that the updated rule will match.deviceTypes
(Collection<String> deviceTypes) Device types that the updated rule will match.deviceUserAgents
(String... deviceUserAgents) User agents that the updated rule will match.deviceUserAgents
(Collection<String> deviceUserAgents) User agents that the updated rule will match.The effect of the rule when it matches.effect
(MobileDeviceAccessRuleEffect effect) The effect of the rule when it matches.mobileDeviceAccessRuleId
(String mobileDeviceAccessRuleId) The identifier of the rule to be updated.The updated rule name.notDeviceModels
(String... notDeviceModels) Device models that the updated rule will not match.notDeviceModels
(Collection<String> notDeviceModels) Device models that the updated rule will not match.notDeviceOperatingSystems
(String... notDeviceOperatingSystems) Device operating systems that the updated rule will not match.notDeviceOperatingSystems
(Collection<String> notDeviceOperatingSystems) Device operating systems that the updated rule will not match.notDeviceTypes
(String... notDeviceTypes) Device types that the updated rule will not match.notDeviceTypes
(Collection<String> notDeviceTypes) Device types that the updated rule will not match.notDeviceUserAgents
(String... notDeviceUserAgents) User agents that the updated rule will not match.notDeviceUserAgents
(Collection<String> notDeviceUserAgents) User agents that the updated rule will not match.organizationId
(String organizationId) The WorkMail organization under which the rule will be updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
The WorkMail organization under which the rule will be updated.
- Parameters:
organizationId
- The WorkMail organization under which the rule will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mobileDeviceAccessRuleId
UpdateMobileDeviceAccessRuleRequest.Builder mobileDeviceAccessRuleId(String mobileDeviceAccessRuleId) The identifier of the rule to be updated.
- Parameters:
mobileDeviceAccessRuleId
- The identifier of the rule to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated rule name.
- Parameters:
name
- The updated rule name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated rule description.
- Parameters:
description
- The updated rule description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
The effect of the rule when it matches. Allowed values are
ALLOW
orDENY
.- Parameters:
effect
- The effect of the rule when it matches. Allowed values areALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
The effect of the rule when it matches. Allowed values are
ALLOW
orDENY
.- Parameters:
effect
- The effect of the rule when it matches. Allowed values areALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceTypes
Device types that the updated rule will match.
- Parameters:
deviceTypes
- Device types that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceTypes
Device types that the updated rule will match.
- Parameters:
deviceTypes
- Device types that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceTypes
Device types that the updated rule will not match. All other device types will match.
- Parameters:
notDeviceTypes
- Device types that the updated rule will not match. All other device types will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceTypes
Device types that the updated rule will not match. All other device types will match.
- Parameters:
notDeviceTypes
- Device types that the updated rule will not match. All other device types will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceModels
Device models that the updated rule will match.
- Parameters:
deviceModels
- Device models that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceModels
Device models that the updated rule will match.
- Parameters:
deviceModels
- Device models that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceModels
Device models that the updated rule will not match. All other device models will match.
- Parameters:
notDeviceModels
- Device models that the updated rule will not match. All other device models will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceModels
Device models that the updated rule will not match. All other device models will match.
- Parameters:
notDeviceModels
- Device models that the updated rule will not match. All other device models will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceOperatingSystems
UpdateMobileDeviceAccessRuleRequest.Builder deviceOperatingSystems(Collection<String> deviceOperatingSystems) Device operating systems that the updated rule will match.
- Parameters:
deviceOperatingSystems
- Device operating systems that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceOperatingSystems
UpdateMobileDeviceAccessRuleRequest.Builder deviceOperatingSystems(String... deviceOperatingSystems) Device operating systems that the updated rule will match.
- Parameters:
deviceOperatingSystems
- Device operating systems that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceOperatingSystems
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceOperatingSystems(Collection<String> notDeviceOperatingSystems) Device operating systems that the updated rule will not match. All other device operating systems will match.
- Parameters:
notDeviceOperatingSystems
- Device operating systems that the updated rule will not match. All other device operating systems will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceOperatingSystems
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceOperatingSystems(String... notDeviceOperatingSystems) Device operating systems that the updated rule will not match. All other device operating systems will match.
- Parameters:
notDeviceOperatingSystems
- Device operating systems that the updated rule will not match. All other device operating systems will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceUserAgents
User agents that the updated rule will match.
- Parameters:
deviceUserAgents
- User agents that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceUserAgents
User agents that the updated rule will match.
- Parameters:
deviceUserAgents
- User agents that the updated rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceUserAgents
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceUserAgents(Collection<String> notDeviceUserAgents) User agents that the updated rule will not match. All other user agents will match.
- Parameters:
notDeviceUserAgents
- User agents that the updated rule will not match. All other user agents will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceUserAgents
User agents that the updated rule will not match. All other user agents will match.
- Parameters:
notDeviceUserAgents
- User agents that the updated rule will not match. All other user agents will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMobileDeviceAccessRuleRequest.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
UpdateMobileDeviceAccessRuleRequest.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.
-