Class UserState.Builder

  • Enclosing class:
    UserState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(UserState defaults)
    • Method Detail

      • arn

        public UserState.Builder arn​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the user
        Returns:
        builder
      • arn

        public UserState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the user
        Returns:
        builder
      • awsAccountId

        public UserState.Builder awsAccountId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> awsAccountId)
        Parameters:
        awsAccountId - The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
        Returns:
        builder
      • awsAccountId

        public UserState.Builder awsAccountId​(java.lang.String awsAccountId)
        Parameters:
        awsAccountId - The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
        Returns:
        builder
      • email

        public UserState.Builder email​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> email)
        Parameters:
        email - The email address of the user that you want to register.
        Returns:
        builder
      • email

        public UserState.Builder email​(java.lang.String email)
        Parameters:
        email - The email address of the user that you want to register.
        Returns:
        builder
      • iamArn

        public UserState.Builder iamArn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> iamArn)
        Parameters:
        iamArn - The ARN of the IAM user or role that you are registering with Amazon QuickSight.
        Returns:
        builder
      • iamArn

        public UserState.Builder iamArn​(java.lang.String iamArn)
        Parameters:
        iamArn - The ARN of the IAM user or role that you are registering with Amazon QuickSight.
        Returns:
        builder
      • identityType

        public UserState.Builder identityType​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> identityType)
        Parameters:
        identityType - Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts either `IAM` or `QUICKSIGHT`. If `IAM` is specified, the `iam_arn` must also be specified.
        Returns:
        builder
      • identityType

        public UserState.Builder identityType​(java.lang.String identityType)
        Parameters:
        identityType - Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts either `IAM` or `QUICKSIGHT`. If `IAM` is specified, the `iam_arn` must also be specified.
        Returns:
        builder
      • namespace

        public UserState.Builder namespace​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> namespace)
        Parameters:
        namespace - The Amazon Quicksight namespace to create the user in. Defaults to `default`.
        Returns:
        builder
      • namespace

        public UserState.Builder namespace​(java.lang.String namespace)
        Parameters:
        namespace - The Amazon Quicksight namespace to create the user in. Defaults to `default`.
        Returns:
        builder
      • sessionName

        public UserState.Builder sessionName​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> sessionName)
        Parameters:
        sessionName - The name of the IAM session to use when assuming roles that can embed QuickSight dashboards. Only valid for registering users using an assumed IAM role. Additionally, if registering multiple users using the same IAM role, each user needs to have a unique session name.
        Returns:
        builder
      • sessionName

        public UserState.Builder sessionName​(java.lang.String sessionName)
        Parameters:
        sessionName - The name of the IAM session to use when assuming roles that can embed QuickSight dashboards. Only valid for registering users using an assumed IAM role. Additionally, if registering multiple users using the same IAM role, each user needs to have a unique session name.
        Returns:
        builder
      • userName

        public UserState.Builder userName​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> userName)
        Parameters:
        userName - The Amazon QuickSight user name that you want to create for the user you are registering. Only valid for registering a user with `identity_type` set to `QUICKSIGHT`.
        Returns:
        builder
      • userName

        public UserState.Builder userName​(java.lang.String userName)
        Parameters:
        userName - The Amazon QuickSight user name that you want to create for the user you are registering. Only valid for registering a user with `identity_type` set to `QUICKSIGHT`.
        Returns:
        builder
      • userRole

        public UserState.Builder userRole​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> userRole)
        Parameters:
        userRole - The Amazon QuickSight role of the user. The user role can be one of the following: `READER`, `AUTHOR`, or `ADMIN`
        Returns:
        builder
      • userRole

        public UserState.Builder userRole​(java.lang.String userRole)
        Parameters:
        userRole - The Amazon QuickSight role of the user. The user role can be one of the following: `READER`, `AUTHOR`, or `ADMIN`
        Returns:
        builder