Interface MobileDeviceAccessRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MobileDeviceAccessRule.Builder,MobileDeviceAccessRule>,SdkBuilder<MobileDeviceAccessRule.Builder,MobileDeviceAccessRule>,SdkPojo
- Enclosing class:
- MobileDeviceAccessRule
public static interface MobileDeviceAccessRule.Builder extends SdkPojo, CopyableBuilder<MobileDeviceAccessRule.Builder,MobileDeviceAccessRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MobileDeviceAccessRule.BuilderdateCreated(Instant dateCreated)The date and time at which an access rule was created.MobileDeviceAccessRule.BuilderdateModified(Instant dateModified)The date and time at which an access rule was modified.MobileDeviceAccessRule.Builderdescription(String description)The description of a mobile access rule.MobileDeviceAccessRule.BuilderdeviceModels(String... deviceModels)Device models that a rule will match.MobileDeviceAccessRule.BuilderdeviceModels(Collection<String> deviceModels)Device models that a rule will match.MobileDeviceAccessRule.BuilderdeviceOperatingSystems(String... deviceOperatingSystems)Device operating systems that a rule will match.MobileDeviceAccessRule.BuilderdeviceOperatingSystems(Collection<String> deviceOperatingSystems)Device operating systems that a rule will match.MobileDeviceAccessRule.BuilderdeviceTypes(String... deviceTypes)Device types that a rule will match.MobileDeviceAccessRule.BuilderdeviceTypes(Collection<String> deviceTypes)Device types that a rule will match.MobileDeviceAccessRule.BuilderdeviceUserAgents(String... deviceUserAgents)Device user agents that a rule will match.MobileDeviceAccessRule.BuilderdeviceUserAgents(Collection<String> deviceUserAgents)Device user agents that a rule will match.MobileDeviceAccessRule.Buildereffect(String effect)The effect of the rule when it matches.MobileDeviceAccessRule.Buildereffect(MobileDeviceAccessRuleEffect effect)The effect of the rule when it matches.MobileDeviceAccessRule.BuildermobileDeviceAccessRuleId(String mobileDeviceAccessRuleId)The ID assigned to a mobile access rule.MobileDeviceAccessRule.Buildername(String name)The name of a mobile access rule.MobileDeviceAccessRule.BuildernotDeviceModels(String... notDeviceModels)Device models that a rule will not match.MobileDeviceAccessRule.BuildernotDeviceModels(Collection<String> notDeviceModels)Device models that a rule will not match.MobileDeviceAccessRule.BuildernotDeviceOperatingSystems(String... notDeviceOperatingSystems)Device operating systems that a rule will not match.MobileDeviceAccessRule.BuildernotDeviceOperatingSystems(Collection<String> notDeviceOperatingSystems)Device operating systems that a rule will not match.MobileDeviceAccessRule.BuildernotDeviceTypes(String... notDeviceTypes)Device types that a rule will not match.MobileDeviceAccessRule.BuildernotDeviceTypes(Collection<String> notDeviceTypes)Device types that a rule will not match.MobileDeviceAccessRule.BuildernotDeviceUserAgents(String... notDeviceUserAgents)Device user agents that a rule will not match.MobileDeviceAccessRule.BuildernotDeviceUserAgents(Collection<String> notDeviceUserAgents)Device user agents that a rule will not match.-
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
-
-
-
-
Method Detail
-
mobileDeviceAccessRuleId
MobileDeviceAccessRule.Builder mobileDeviceAccessRuleId(String mobileDeviceAccessRuleId)
The ID assigned to a mobile access rule.
- Parameters:
mobileDeviceAccessRuleId- The ID assigned to a mobile access rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
MobileDeviceAccessRule.Builder name(String name)
The name of a mobile access rule.
- Parameters:
name- The name of a mobile access rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
MobileDeviceAccessRule.Builder description(String description)
The description of a mobile access rule.
- Parameters:
description- The description of a mobile access rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
MobileDeviceAccessRule.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
MobileDeviceAccessRule.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
MobileDeviceAccessRule.Builder deviceTypes(Collection<String> deviceTypes)
Device types that a rule will match.
- Parameters:
deviceTypes- Device types that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceTypes
MobileDeviceAccessRule.Builder deviceTypes(String... deviceTypes)
Device types that a rule will match.
- Parameters:
deviceTypes- Device types that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceTypes
MobileDeviceAccessRule.Builder notDeviceTypes(Collection<String> notDeviceTypes)
Device types that a rule will not match. All other device types will match.
- Parameters:
notDeviceTypes- Device types that a 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
MobileDeviceAccessRule.Builder notDeviceTypes(String... notDeviceTypes)
Device types that a rule will not match. All other device types will match.
- Parameters:
notDeviceTypes- Device types that a 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
MobileDeviceAccessRule.Builder deviceModels(Collection<String> deviceModels)
Device models that a rule will match.
- Parameters:
deviceModels- Device models that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceModels
MobileDeviceAccessRule.Builder deviceModels(String... deviceModels)
Device models that a rule will match.
- Parameters:
deviceModels- Device models that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceModels
MobileDeviceAccessRule.Builder notDeviceModels(Collection<String> notDeviceModels)
Device models that a rule will not match. All other device models will match.
- Parameters:
notDeviceModels- Device models that a 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
MobileDeviceAccessRule.Builder notDeviceModels(String... notDeviceModels)
Device models that a rule will not match. All other device models will match.
- Parameters:
notDeviceModels- Device models that a 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
MobileDeviceAccessRule.Builder deviceOperatingSystems(Collection<String> deviceOperatingSystems)
Device operating systems that a rule will match.
- Parameters:
deviceOperatingSystems- Device operating systems that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceOperatingSystems
MobileDeviceAccessRule.Builder deviceOperatingSystems(String... deviceOperatingSystems)
Device operating systems that a rule will match.
- Parameters:
deviceOperatingSystems- Device operating systems that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceOperatingSystems
MobileDeviceAccessRule.Builder notDeviceOperatingSystems(Collection<String> notDeviceOperatingSystems)
Device operating systems that a rule will not match. All other device types will match.
- Parameters:
notDeviceOperatingSystems- Device operating systems that a 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.
-
notDeviceOperatingSystems
MobileDeviceAccessRule.Builder notDeviceOperatingSystems(String... notDeviceOperatingSystems)
Device operating systems that a rule will not match. All other device types will match.
- Parameters:
notDeviceOperatingSystems- Device operating systems that a 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.
-
deviceUserAgents
MobileDeviceAccessRule.Builder deviceUserAgents(Collection<String> deviceUserAgents)
Device user agents that a rule will match.
- Parameters:
deviceUserAgents- Device user agents that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceUserAgents
MobileDeviceAccessRule.Builder deviceUserAgents(String... deviceUserAgents)
Device user agents that a rule will match.
- Parameters:
deviceUserAgents- Device user agents that a rule will match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notDeviceUserAgents
MobileDeviceAccessRule.Builder notDeviceUserAgents(Collection<String> notDeviceUserAgents)
Device user agents that a rule will not match. All other device user agents will match.
- Parameters:
notDeviceUserAgents- Device user agents that a 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
MobileDeviceAccessRule.Builder notDeviceUserAgents(String... notDeviceUserAgents)
Device user agents that a rule will not match. All other device user agents will match.
- Parameters:
notDeviceUserAgents- Device user agents that a 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.
-
dateCreated
MobileDeviceAccessRule.Builder dateCreated(Instant dateCreated)
The date and time at which an access rule was created.
- Parameters:
dateCreated- The date and time at which an access rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateModified
MobileDeviceAccessRule.Builder dateModified(Instant dateModified)
The date and time at which an access rule was modified.
- Parameters:
dateModified- The date and time at which an access rule was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-