Interface PutAccessControlRuleRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<PutAccessControlRuleRequest.Builder,PutAccessControlRuleRequest>, SdkBuilder<PutAccessControlRuleRequest.Builder,PutAccessControlRuleRequest>, SdkPojo, SdkRequest.Builder, WorkMailRequest.Builder
Enclosing class:
PutAccessControlRuleRequest

public static interface PutAccessControlRuleRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<PutAccessControlRuleRequest.Builder,PutAccessControlRuleRequest>
  • 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

      PutAccessControlRuleRequest.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

      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

      PutAccessControlRuleRequest.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

      Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

      Parameters:
      actions - Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
      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, and WebMail.

      Parameters:
      actions - Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
      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, and WebMail.

      Parameters:
      notActions - Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notActions

      PutAccessControlRuleRequest.Builder notActions(String... notActions)

      Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

      Parameters:
      notActions - Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
      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

      PutAccessControlRuleRequest.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.
    • organizationId

      PutAccessControlRuleRequest.Builder organizationId(String 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

      PutAccessControlRuleRequest.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

      PutAccessControlRuleRequest.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

      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

      PutAccessControlRuleRequest.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.
    • overrideConfiguration

      PutAccessControlRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.