Class GetPolicyPlainArgs.Builder

  • Enclosing class:
    GetPolicyPlainArgs

    public static final class GetPolicyPlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public GetPolicyPlainArgs.Builder arn​(@Nullable
                                              java.lang.String arn)
        Parameters:
        arn - ARN of the IAM policy. Conflicts with `name` and `pathPrefix`.
        Returns:
        builder
      • name

        public GetPolicyPlainArgs.Builder name​(@Nullable
                                               java.lang.String name)
        Parameters:
        name - Name of the IAM policy. Conflicts with `arn`.
        Returns:
        builder
      • pathPrefix

        public GetPolicyPlainArgs.Builder pathPrefix​(@Nullable
                                                     java.lang.String pathPrefix)
        Parameters:
        pathPrefix - Prefix of the path to the IAM policy. Defaults to a slash (`/`). Conflicts with `arn`.
        Returns:
        builder
      • tags

        public GetPolicyPlainArgs.Builder tags​(@Nullable
                                               java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value mapping of tags for the IAM Policy.
        Returns:
        builder