Interface AccessControlRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccessControlRule.Builder,AccessControlRule>,SdkBuilder<AccessControlRule.Builder,AccessControlRule>,SdkPojo
- Enclosing class:
- AccessControlRule
public static interface AccessControlRule.Builder extends SdkPojo, CopyableBuilder<AccessControlRule.Builder,AccessControlRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessControlRule.Builderactions(String... actions)Access protocol actions to include in the rule.AccessControlRule.Builderactions(Collection<String> actions)Access protocol actions to include in the rule.AccessControlRule.BuilderdateCreated(Instant dateCreated)The date that the rule was created.AccessControlRule.BuilderdateModified(Instant dateModified)The date that the rule was modified.AccessControlRule.Builderdescription(String description)The rule description.AccessControlRule.Buildereffect(String effect)The rule effect.AccessControlRule.Buildereffect(AccessControlRuleEffect effect)The rule effect.AccessControlRule.BuilderimpersonationRoleIds(String... impersonationRoleIds)Impersonation role IDs to include in the rule.AccessControlRule.BuilderimpersonationRoleIds(Collection<String> impersonationRoleIds)Impersonation role IDs to include in the rule.AccessControlRule.BuilderipRanges(String... ipRanges)IPv4 CIDR ranges to include in the rule.AccessControlRule.BuilderipRanges(Collection<String> ipRanges)IPv4 CIDR ranges to include in the rule.AccessControlRule.Buildername(String name)The rule name.AccessControlRule.BuildernotActions(String... notActions)Access protocol actions to exclude from the rule.AccessControlRule.BuildernotActions(Collection<String> notActions)Access protocol actions to exclude from the rule.AccessControlRule.BuildernotImpersonationRoleIds(String... notImpersonationRoleIds)Impersonation role IDs to exclude from the rule.AccessControlRule.BuildernotImpersonationRoleIds(Collection<String> notImpersonationRoleIds)Impersonation role IDs to exclude from the rule.AccessControlRule.BuildernotIpRanges(String... notIpRanges)IPv4 CIDR ranges to exclude from the rule.AccessControlRule.BuildernotIpRanges(Collection<String> notIpRanges)IPv4 CIDR ranges to exclude from the rule.AccessControlRule.BuildernotUserIds(String... notUserIds)User IDs to exclude from the rule.AccessControlRule.BuildernotUserIds(Collection<String> notUserIds)User IDs to exclude from the rule.AccessControlRule.BuilderuserIds(String... userIds)User IDs to include in the rule.AccessControlRule.BuilderuserIds(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 Detail
-
name
AccessControlRule.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.
-
effect
AccessControlRule.Builder effect(String 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:
AccessControlRuleEffect,AccessControlRuleEffect
-
effect
AccessControlRule.Builder effect(AccessControlRuleEffect 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:
AccessControlRuleEffect,AccessControlRuleEffect
-
description
AccessControlRule.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.
-
ipRanges
AccessControlRule.Builder ipRanges(Collection<String> 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
AccessControlRule.Builder ipRanges(String... 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
AccessControlRule.Builder notIpRanges(Collection<String> 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
AccessControlRule.Builder notIpRanges(String... 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
AccessControlRule.Builder actions(Collection<String> 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
AccessControlRule.Builder actions(String... 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
AccessControlRule.Builder notActions(Collection<String> 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
AccessControlRule.Builder notActions(String... 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
AccessControlRule.Builder userIds(Collection<String> 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
AccessControlRule.Builder userIds(String... 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
AccessControlRule.Builder notUserIds(Collection<String> 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
AccessControlRule.Builder notUserIds(String... 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
AccessControlRule.Builder dateCreated(Instant 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
AccessControlRule.Builder dateModified(Instant 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
AccessControlRule.Builder impersonationRoleIds(Collection<String> 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
AccessControlRule.Builder impersonationRoleIds(String... 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
AccessControlRule.Builder notImpersonationRoleIds(Collection<String> 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
AccessControlRule.Builder notImpersonationRoleIds(String... 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.
-
-