Interface CreateMobileDeviceAccessRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMobileDeviceAccessRuleRequest.Builder,CreateMobileDeviceAccessRuleRequest>,SdkBuilder<CreateMobileDeviceAccessRuleRequest.Builder,CreateMobileDeviceAccessRuleRequest>,SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
- CreateMobileDeviceAccessRuleRequest
public static interface CreateMobileDeviceAccessRuleRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<CreateMobileDeviceAccessRuleRequest.Builder,CreateMobileDeviceAccessRuleRequest>
-
-
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
CreateMobileDeviceAccessRuleRequest.Builder organizationId(String organizationId)
The WorkMail organization under which the rule will be created.
- Parameters:
organizationId- The WorkMail organization under which the rule will be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateMobileDeviceAccessRuleRequest.Builder clientToken(String clientToken)
The idempotency token for the client request.
- Parameters:
clientToken- The idempotency token for the client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateMobileDeviceAccessRuleRequest.Builder name(String name)
The rule name.
- Parameters:
name- The rule name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateMobileDeviceAccessRuleRequest.Builder description(String description)
The rule description.
- Parameters:
description- The rule description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
CreateMobileDeviceAccessRuleRequest.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
CreateMobileDeviceAccessRuleRequest.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
CreateMobileDeviceAccessRuleRequest.Builder deviceTypes(Collection<String> deviceTypes)
Device types that the rule will match.
- Parameters:
deviceTypes- Device types that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceTypes
CreateMobileDeviceAccessRuleRequest.Builder deviceTypes(String... deviceTypes)
Device types that the rule will match.
- Parameters:
deviceTypes- Device types that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceTypes
CreateMobileDeviceAccessRuleRequest.Builder notDeviceTypes(Collection<String> notDeviceTypes)
Device types that the rule will not match. All other device types will match.
- Parameters:
notDeviceTypes- Device types that the 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
CreateMobileDeviceAccessRuleRequest.Builder notDeviceTypes(String... notDeviceTypes)
Device types that the rule will not match. All other device types will match.
- Parameters:
notDeviceTypes- Device types that the 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
CreateMobileDeviceAccessRuleRequest.Builder deviceModels(Collection<String> deviceModels)
Device models that the rule will match.
- Parameters:
deviceModels- Device models that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceModels
CreateMobileDeviceAccessRuleRequest.Builder deviceModels(String... deviceModels)
Device models that the rule will match.
- Parameters:
deviceModels- Device models that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceModels
CreateMobileDeviceAccessRuleRequest.Builder notDeviceModels(Collection<String> notDeviceModels)
Device models that the rule will not match. All other device models will match.
- Parameters:
notDeviceModels- Device models that the 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
CreateMobileDeviceAccessRuleRequest.Builder notDeviceModels(String... notDeviceModels)
Device models that the rule will not match. All other device models will match.
- Parameters:
notDeviceModels- Device models that the 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
CreateMobileDeviceAccessRuleRequest.Builder deviceOperatingSystems(Collection<String> deviceOperatingSystems)
Device operating systems that the rule will match.
- Parameters:
deviceOperatingSystems- Device operating systems that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceOperatingSystems
CreateMobileDeviceAccessRuleRequest.Builder deviceOperatingSystems(String... deviceOperatingSystems)
Device operating systems that the rule will match.
- Parameters:
deviceOperatingSystems- Device operating systems that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceOperatingSystems
CreateMobileDeviceAccessRuleRequest.Builder notDeviceOperatingSystems(Collection<String> notDeviceOperatingSystems)
Device operating systems that the rule will not match. All other device operating systems will match.
- Parameters:
notDeviceOperatingSystems- Device operating systems that the 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
CreateMobileDeviceAccessRuleRequest.Builder notDeviceOperatingSystems(String... notDeviceOperatingSystems)
Device operating systems that the rule will not match. All other device operating systems will match.
- Parameters:
notDeviceOperatingSystems- Device operating systems that the 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
CreateMobileDeviceAccessRuleRequest.Builder deviceUserAgents(Collection<String> deviceUserAgents)
Device user agents that the rule will match.
- Parameters:
deviceUserAgents- Device user agents that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceUserAgents
CreateMobileDeviceAccessRuleRequest.Builder deviceUserAgents(String... deviceUserAgents)
Device user agents that the rule will match.
- Parameters:
deviceUserAgents- Device user agents that the rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceUserAgents
CreateMobileDeviceAccessRuleRequest.Builder notDeviceUserAgents(Collection<String> notDeviceUserAgents)
Device user agents that the rule will not match. All other device user agents will match.
- Parameters:
notDeviceUserAgents- Device user agents that the rule will not match. All other device user agents will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceUserAgents
CreateMobileDeviceAccessRuleRequest.Builder notDeviceUserAgents(String... notDeviceUserAgents)
Device user agents that the rule will not match. All other device user agents will match.
- Parameters:
notDeviceUserAgents- Device user agents that the rule will not match. All other device user agents will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateMobileDeviceAccessRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMobileDeviceAccessRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-