Class GetRolesPlainArgs.Builder

  • Enclosing class:
    GetRolesPlainArgs

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

      • Builder

        public Builder()
    • Method Detail

      • nameRegex

        public GetRolesPlainArgs.Builder nameRegex​(@Nullable
                                                   java.lang.String nameRegex)
        Parameters:
        nameRegex - Regex string to apply to the IAM roles 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 GetRolesPlainArgs.Builder pathPrefix​(@Nullable
                                                    java.lang.String pathPrefix)
        Parameters:
        pathPrefix - Path prefix for filtering the results. For example, the prefix `/application_abc/component_xyz/` gets all roles whose path starts with `/application_abc/component_xyz/`. If it is not included, it defaults to a slash (`/`), listing all roles. For more details, check out [list-roles in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-roles.html).
        Returns:
        builder