Interface AccessControlRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessControlRule.Builder,
,AccessControlRule> SdkBuilder<AccessControlRule.Builder,
,AccessControlRule> SdkPojo
- Enclosing class:
AccessControlRule
-
Method Summary
Modifier and TypeMethodDescriptionAccess protocol actions to include in the rule.actions
(Collection<String> actions) Access protocol actions to include in the rule.dateCreated
(Instant dateCreated) The date that the rule was created.dateModified
(Instant dateModified) The date that the rule was modified.description
(String description) The rule description.The rule effect.effect
(AccessControlRuleEffect effect) The rule effect.impersonationRoleIds
(String... impersonationRoleIds) Impersonation role IDs to include in the rule.impersonationRoleIds
(Collection<String> impersonationRoleIds) Impersonation role IDs to include in the rule.IPv4 CIDR ranges to include in the rule.ipRanges
(Collection<String> ipRanges) IPv4 CIDR ranges to include in the rule.The rule name.notActions
(String... notActions) Access protocol actions to exclude from the rule.notActions
(Collection<String> notActions) Access protocol actions to exclude from the rule.notImpersonationRoleIds
(String... notImpersonationRoleIds) Impersonation role IDs to exclude from the rule.notImpersonationRoleIds
(Collection<String> notImpersonationRoleIds) Impersonation role IDs to exclude from the rule.notIpRanges
(String... notIpRanges) IPv4 CIDR ranges to exclude from the rule.notIpRanges
(Collection<String> notIpRanges) IPv4 CIDR ranges to exclude from the rule.notUserIds
(String... notUserIds) User IDs to exclude from the rule.notUserIds
(Collection<String> notUserIds) User IDs to exclude from the rule.User IDs to include in the rule.userIds
(Collection<String> userIds) User IDs to include in the rule.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 Details
-
name
The rule name.
- Parameters:
name
- The rule name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
The rule effect.
- Parameters:
effect
- The rule effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
The rule effect.
- Parameters:
effect
- The rule effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The rule description.
- Parameters:
description
- The rule description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
IPv4 CIDR ranges to include in the rule.
- Parameters:
ipRanges
- IPv4 CIDR ranges to include in the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
IPv4 CIDR ranges to include in the rule.
- Parameters:
ipRanges
- IPv4 CIDR ranges to include in the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notIpRanges
IPv4 CIDR ranges to exclude from the rule.
- Parameters:
notIpRanges
- IPv4 CIDR ranges to exclude from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notIpRanges
IPv4 CIDR ranges to exclude from the rule.
- Parameters:
notIpRanges
- IPv4 CIDR ranges to exclude from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Access protocol actions to include in the rule. Valid values include
ActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Parameters:
actions
- Access protocol actions to include in the rule. Valid values includeActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Access protocol actions to include in the rule. Valid values include
ActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Parameters:
actions
- Access protocol actions to include in the rule. Valid values includeActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notActions
Access protocol actions to exclude from the rule. Valid values include
ActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Parameters:
notActions
- Access protocol actions to exclude from the rule. Valid values includeActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notActions
Access protocol actions to exclude from the rule. Valid values include
ActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Parameters:
notActions
- Access protocol actions to exclude from the rule. Valid values includeActiveSync
,AutoDiscover
,EWS
,IMAP
,SMTP
,WindowsOutlook
, andWebMail
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIds
User IDs to include in the rule.
- Parameters:
userIds
- User IDs to include in the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIds
User IDs to include in the rule.
- Parameters:
userIds
- User IDs to include in the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notUserIds
User IDs to exclude from the rule.
- Parameters:
notUserIds
- User IDs to exclude from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notUserIds
User IDs to exclude from the rule.
- Parameters:
notUserIds
- User IDs to exclude from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateCreated
The date that the rule was created.
- Parameters:
dateCreated
- The date that the rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateModified
The date that the rule was modified.
- Parameters:
dateModified
- The date that the rule was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impersonationRoleIds
Impersonation role IDs to include in the rule.
- Parameters:
impersonationRoleIds
- Impersonation role IDs to include in the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impersonationRoleIds
Impersonation role IDs to include in the rule.
- Parameters:
impersonationRoleIds
- Impersonation role IDs to include in the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notImpersonationRoleIds
Impersonation role IDs to exclude from the rule.
- Parameters:
notImpersonationRoleIds
- Impersonation role IDs to exclude from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notImpersonationRoleIds
Impersonation role IDs to exclude from the rule.
- Parameters:
notImpersonationRoleIds
- Impersonation role IDs to exclude from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-