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

      • accessString

        public UserArgs.Builder accessString​(com.pulumi.core.Output<java.lang.String> accessString)
        Parameters:
        accessString - Access permissions string used for this user. See [Specifying Permissions Using an Access String](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html#Access-string) for more details.
        Returns:
        builder
      • accessString

        public UserArgs.Builder accessString​(java.lang.String accessString)
        Parameters:
        accessString - Access permissions string used for this user. See [Specifying Permissions Using an Access String](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html#Access-string) for more details.
        Returns:
        builder
      • authenticationMode

        public UserArgs.Builder authenticationMode​(@Nullable
                                                   com.pulumi.core.Output<UserAuthenticationModeArgs> authenticationMode)
        Parameters:
        authenticationMode - Denotes the user's authentication properties. Detailed below.
        Returns:
        builder
      • authenticationMode

        public UserArgs.Builder authenticationMode​(UserAuthenticationModeArgs authenticationMode)
        Parameters:
        authenticationMode - Denotes the user's authentication properties. Detailed below.
        Returns:
        builder
      • engine

        public UserArgs.Builder engine​(com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - The current supported values are `redis`, `valkey` (case insensitive).
        Returns:
        builder
      • engine

        public UserArgs.Builder engine​(java.lang.String engine)
        Parameters:
        engine - The current supported values are `redis`, `valkey` (case insensitive).
        Returns:
        builder
      • noPasswordRequired

        public UserArgs.Builder noPasswordRequired​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> noPasswordRequired)
        Parameters:
        noPasswordRequired - Indicates a password is not required for this user.
        Returns:
        builder
      • noPasswordRequired

        public UserArgs.Builder noPasswordRequired​(java.lang.Boolean noPasswordRequired)
        Parameters:
        noPasswordRequired - Indicates a password is not required for this user.
        Returns:
        builder
      • passwords

        public UserArgs.Builder passwords​(@Nullable
                                          com.pulumi.core.Output<java.util.List<java.lang.String>> passwords)
        Parameters:
        passwords - Passwords used for this user. You can create up to two passwords for each user.
        Returns:
        builder
      • passwords

        public UserArgs.Builder passwords​(java.util.List<java.lang.String> passwords)
        Parameters:
        passwords - Passwords used for this user. You can create up to two passwords for each user.
        Returns:
        builder
      • passwords

        public UserArgs.Builder passwords​(java.lang.String... passwords)
        Parameters:
        passwords - Passwords used for this user. You can create up to two passwords for each user.
        Returns:
        builder
      • passwordsWo

        public UserArgs.Builder passwordsWo​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> passwordsWo)
        Parameters:
        passwordsWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only password for this user. This argument is not stored in state. Conflicts with `passwords` and `authenticationMode`. If set, requires `passwordsWoVersion` to be set.
        Returns:
        builder
      • passwordsWo

        public UserArgs.Builder passwordsWo​(java.lang.String passwordsWo)
        Parameters:
        passwordsWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only password for this user. This argument is not stored in state. Conflicts with `passwords` and `authenticationMode`. If set, requires `passwordsWoVersion` to be set.
        Returns:
        builder
      • passwordsWoVersion

        public UserArgs.Builder passwordsWoVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> passwordsWoVersion)
        Parameters:
        passwordsWoVersion - Required when `passwordsWo` is set. Changing this value triggers an update to `passwordsWo`.
        Returns:
        builder
      • passwordsWoVersion

        public UserArgs.Builder passwordsWoVersion​(java.lang.Integer passwordsWoVersion)
        Parameters:
        passwordsWoVersion - Required when `passwordsWo` is set. Changing this value triggers an update to `passwordsWo`.
        Returns:
        builder
      • region

        public UserArgs.Builder region​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public UserArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public UserArgs.Builder tags​(@Nullable
                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A list of tags to be added to this resource. A tag is a key-value pair.
        Returns:
        builder
      • tags

        public UserArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A list of tags to be added to this resource. A tag is a key-value pair.
        Returns:
        builder
      • userId

        public UserArgs.Builder userId​(com.pulumi.core.Output<java.lang.String> userId)
        Parameters:
        userId - The ID of the user.
        Returns:
        builder
      • userId

        public UserArgs.Builder userId​(java.lang.String userId)
        Parameters:
        userId - The ID of the user.
        Returns:
        builder
      • userName

        public UserArgs.Builder userName​(com.pulumi.core.Output<java.lang.String> userName)
        Parameters:
        userName - The username of the user. For IAM authentication, this value must match `userId`. The following arguments are optional:
        Returns:
        builder
      • userName

        public UserArgs.Builder userName​(java.lang.String userName)
        Parameters:
        userName - The username of the user. For IAM authentication, this value must match `userId`. The following arguments are optional:
        Returns:
        builder