Interface PutAccessControlRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutAccessControlRuleRequest.Builder,
,PutAccessControlRuleRequest> SdkBuilder<PutAccessControlRuleRequest.Builder,
,PutAccessControlRuleRequest> SdkPojo
,SdkRequest.Builder
,WorkMailRequest.Builder
- Enclosing class:
PutAccessControlRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionAccess protocol actions to include in the rule.actions
(Collection<String> actions) Access protocol actions to include in the rule.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.organizationId
(String organizationId) The identifier of the organization.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.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 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.
-
organizationId
The identifier of the organization.
- Parameters:
organizationId
- The identifier of the organization.- 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
PutAccessControlRuleRequest.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
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.
-
overrideConfiguration
PutAccessControlRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutAccessControlRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-