Class UserArgs.Builder

  • Enclosing class:
    UserArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(UserArgs defaults)
    • Method Detail

      • forceDestroy

        public UserArgs.Builder forceDestroy​(@Nullable
                                             com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
        Parameters:
        forceDestroy - When destroying this user, destroy even if it has non-provider-managed IAM access keys, login profile or MFA devices. Without `force_destroy` a user with non-provider-managed access keys and login profile will fail to be destroyed.
        Returns:
        builder
      • forceDestroy

        public UserArgs.Builder forceDestroy​(java.lang.Boolean forceDestroy)
        Parameters:
        forceDestroy - When destroying this user, destroy even if it has non-provider-managed IAM access keys, login profile or MFA devices. Without `force_destroy` a user with non-provider-managed access keys and login profile will fail to be destroyed.
        Returns:
        builder
      • name

        public UserArgs.Builder name​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser".
        Returns:
        builder
      • name

        public UserArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser".
        Returns:
        builder
      • path

        public UserArgs.Builder path​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> path)
        Parameters:
        path - Path in which to create the user.
        Returns:
        builder
      • path

        public UserArgs.Builder path​(java.lang.String path)
        Parameters:
        path - Path in which to create the user.
        Returns:
        builder
      • permissionsBoundary

        public UserArgs.Builder permissionsBoundary​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> permissionsBoundary)
        Parameters:
        permissionsBoundary - The ARN of the policy that is used to set the permissions boundary for the user.
        Returns:
        builder
      • permissionsBoundary

        public UserArgs.Builder permissionsBoundary​(java.lang.String permissionsBoundary)
        Parameters:
        permissionsBoundary - The ARN of the policy that is used to set the permissions boundary for the user.
        Returns:
        builder
      • tags

        public UserArgs.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 user. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public UserArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value mapping of tags for the IAM user. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder