Interface CreateMobileDeviceAccessRuleRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateMobileDeviceAccessRuleRequest.Builder,,- CreateMobileDeviceAccessRuleRequest> - SdkBuilder<CreateMobileDeviceAccessRuleRequest.Builder,,- CreateMobileDeviceAccessRuleRequest> - SdkPojo,- SdkRequest.Builder,- WorkMailRequest.Builder
- Enclosing class:
- CreateMobileDeviceAccessRuleRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) The idempotency token for the client request.description(String description) The rule description.deviceModels(String... deviceModels) Device models that the rule will match.deviceModels(Collection<String> deviceModels) Device models that the rule will match.deviceOperatingSystems(String... deviceOperatingSystems) Device operating systems that the rule will match.deviceOperatingSystems(Collection<String> deviceOperatingSystems) Device operating systems that the rule will match.deviceTypes(String... deviceTypes) Device types that the rule will match.deviceTypes(Collection<String> deviceTypes) Device types that the rule will match.deviceUserAgents(String... deviceUserAgents) Device user agents that the rule will match.deviceUserAgents(Collection<String> deviceUserAgents) Device user agents that the rule will match.The effect of the rule when it matches.effect(MobileDeviceAccessRuleEffect effect) The effect of the rule when it matches.The rule name.notDeviceModels(String... notDeviceModels) Device models that the rule will not match.notDeviceModels(Collection<String> notDeviceModels) Device models that the rule will not match.notDeviceOperatingSystems(String... notDeviceOperatingSystems) Device operating systems that the rule will not match.notDeviceOperatingSystems(Collection<String> notDeviceOperatingSystems) Device operating systems that the rule will not match.notDeviceTypes(String... notDeviceTypes) Device types that the rule will not match.notDeviceTypes(Collection<String> notDeviceTypes) Device types that the rule will not match.notDeviceUserAgents(String... notDeviceUserAgents) Device user agents that the rule will not match.notDeviceUserAgents(Collection<String> notDeviceUserAgents) Device user agents that the rule will not match.organizationId(String organizationId) The WorkMail organization under which the rule will be created.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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailRequest.Builderbuild
- 
Method Details- 
organizationIdThe 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.
 
- 
clientTokenThe 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.
 
- 
nameThe rule name. - Parameters:
- name- The rule name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe rule description. - Parameters:
- description- The rule description.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
effectThe effect of the rule when it matches. Allowed values are ALLOWorDENY.- Parameters:
- effect- The effect of the rule when it matches. Allowed values are- ALLOWor- DENY.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
effectThe effect of the rule when it matches. Allowed values are ALLOWorDENY.- Parameters:
- effect- The effect of the rule when it matches. Allowed values are- ALLOWor- DENY.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
deviceTypesDevice 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.
 
- 
deviceTypesDevice 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.
 
- 
notDeviceTypesDevice 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.
 
- 
notDeviceTypesDevice 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.
 
- 
deviceModelsDevice 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.
 
- 
deviceModelsDevice 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.
 
- 
notDeviceModelsDevice 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.
 
- 
notDeviceModelsDevice 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.
 
- 
deviceOperatingSystemsCreateMobileDeviceAccessRuleRequest.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.
 
- 
deviceOperatingSystemsCreateMobileDeviceAccessRuleRequest.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.
 
- 
notDeviceOperatingSystemsCreateMobileDeviceAccessRuleRequest.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.
 
- 
notDeviceOperatingSystemsCreateMobileDeviceAccessRuleRequest.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.
 
- 
deviceUserAgentsDevice 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.
 
- 
deviceUserAgentsDevice 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.
 
- 
notDeviceUserAgentsCreateMobileDeviceAccessRuleRequest.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.
 
- 
notDeviceUserAgentsDevice 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.
 
- 
overrideConfigurationCreateMobileDeviceAccessRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateMobileDeviceAccessRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-