Class GetUsersPlainArgs.Builder

  • Enclosing class:
    GetUsersPlainArgs

    public static final class GetUsersPlainArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • nameRegex

        public GetUsersPlainArgs.Builder nameRegex​(@Nullable
                                                   java.lang.String nameRegex)
        Parameters:
        nameRegex - Regex string to apply to the IAM users list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.
        Returns:
        builder
      • pathPrefix

        public GetUsersPlainArgs.Builder pathPrefix​(@Nullable
                                                    java.lang.String pathPrefix)
        Parameters:
        pathPrefix - Path prefix for filtering the results. For example, the prefix `/division_abc/subdivision_xyz/` gets all users whose path starts with `/division_abc/subdivision_xyz/`. If it is not included, it defaults to a slash (`/`), listing all users. For more details, check out [list-users in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-users.html).
        Returns:
        builder