Class GetPolicyArgs.Builder

  • Enclosing class:
    GetPolicyArgs

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public GetPolicyArgs.Builder arn​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the IAM policy. Conflicts with `name` and `path_prefix`.
        Returns:
        builder
      • arn

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

        public GetPolicyArgs.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the IAM policy. Conflicts with `arn`.
        Returns:
        builder
      • name

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

        public GetPolicyArgs.Builder pathPrefix​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> pathPrefix)
        Parameters:
        pathPrefix - Prefix of the path to the IAM policy. Defaults to a slash (`/`). Conflicts with `arn`.
        Returns:
        builder
      • pathPrefix

        public GetPolicyArgs.Builder pathPrefix​(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 GetPolicyArgs.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value mapping of tags for the IAM Policy.
        Returns:
        builder
      • tags

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