Interface UpdateMobileDeviceAccessRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,UpdateMobileDeviceAccessRuleRequest>,SdkBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,UpdateMobileDeviceAccessRuleRequest>,SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
- UpdateMobileDeviceAccessRuleRequest
public static interface UpdateMobileDeviceAccessRuleRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,UpdateMobileDeviceAccessRuleRequest>
-
-
Method Summary
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailRequest.Builder
build
-
-
-
-
Method Detail
-
organizationId
UpdateMobileDeviceAccessRuleRequest.Builder organizationId(String 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
UpdateMobileDeviceAccessRuleRequest.Builder name(String 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
UpdateMobileDeviceAccessRuleRequest.Builder description(String 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
UpdateMobileDeviceAccessRuleRequest.Builder effect(String effect)
The effect of the rule when it matches. Allowed values are
ALLOWorDENY.- Parameters:
effect- The effect of the rule when it matches. Allowed values areALLOWorDENY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MobileDeviceAccessRuleEffect,MobileDeviceAccessRuleEffect
-
effect
UpdateMobileDeviceAccessRuleRequest.Builder effect(MobileDeviceAccessRuleEffect effect)
The effect of the rule when it matches. Allowed values are
ALLOWorDENY.- Parameters:
effect- The effect of the rule when it matches. Allowed values areALLOWorDENY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MobileDeviceAccessRuleEffect,MobileDeviceAccessRuleEffect
-
deviceTypes
UpdateMobileDeviceAccessRuleRequest.Builder deviceTypes(Collection<String> 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
UpdateMobileDeviceAccessRuleRequest.Builder deviceTypes(String... 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
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceTypes(Collection<String> 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
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceTypes(String... 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
UpdateMobileDeviceAccessRuleRequest.Builder deviceModels(Collection<String> 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
UpdateMobileDeviceAccessRuleRequest.Builder deviceModels(String... 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
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceModels(Collection<String> 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
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceModels(String... 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
UpdateMobileDeviceAccessRuleRequest.Builder deviceUserAgents(Collection<String> 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
UpdateMobileDeviceAccessRuleRequest.Builder deviceUserAgents(String... 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
UpdateMobileDeviceAccessRuleRequest.Builder notDeviceUserAgents(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.
-
overrideConfiguration
UpdateMobileDeviceAccessRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMobileDeviceAccessRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-