Interface RedshiftIAMParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RedshiftIAMParameters.Builder,RedshiftIAMParameters>,SdkBuilder<RedshiftIAMParameters.Builder,RedshiftIAMParameters>,SdkPojo
- Enclosing class:
- RedshiftIAMParameters
public static interface RedshiftIAMParameters.Builder extends SdkPojo, CopyableBuilder<RedshiftIAMParameters.Builder,RedshiftIAMParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedshiftIAMParameters.BuilderautoCreateDatabaseUser(Boolean autoCreateDatabaseUser)Automatically creates a database user.RedshiftIAMParameters.BuilderdatabaseGroups(String... databaseGroups)A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster.RedshiftIAMParameters.BuilderdatabaseGroups(Collection<String> databaseGroups)A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster.RedshiftIAMParameters.BuilderdatabaseUser(String databaseUser)The user whose permissions and group memberships will be used by Amazon QuickSight to access the cluster.RedshiftIAMParameters.BuilderroleArn(String roleArn)Use theRoleArnstructure to allow Amazon QuickSight to callredshift:GetClusterCredentialson your cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
roleArn
RedshiftIAMParameters.Builder roleArn(String roleArn)
Use the
RoleArnstructure to allow Amazon QuickSight to callredshift:GetClusterCredentialson your cluster. The calling principal must haveiam:PassRoleaccess to pass the role to Amazon QuickSight. The role's trust policy must allow the Amazon QuickSight service principal to assume the role.- Parameters:
roleArn- Use theRoleArnstructure to allow Amazon QuickSight to callredshift:GetClusterCredentialson your cluster. The calling principal must haveiam:PassRoleaccess to pass the role to Amazon QuickSight. The role's trust policy must allow the Amazon QuickSight service principal to assume the role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseUser
RedshiftIAMParameters.Builder databaseUser(String databaseUser)
The user whose permissions and group memberships will be used by Amazon QuickSight to access the cluster. If this user already exists in your database, Amazon QuickSight is granted the same permissions that the user has. If the user doesn't exist, set the value of
AutoCreateDatabaseUsertoTrueto create a new user with PUBLIC permissions.- Parameters:
databaseUser- The user whose permissions and group memberships will be used by Amazon QuickSight to access the cluster. If this user already exists in your database, Amazon QuickSight is granted the same permissions that the user has. If the user doesn't exist, set the value ofAutoCreateDatabaseUsertoTrueto create a new user with PUBLIC permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseGroups
RedshiftIAMParameters.Builder databaseGroups(Collection<String> databaseGroups)
A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions are combined with the permissions granted to Amazon QuickSight by the
DatabaseUser. If you choose to include this parameter, theRoleArnmust grant access toredshift:JoinGroup.- Parameters:
databaseGroups- A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions are combined with the permissions granted to Amazon QuickSight by theDatabaseUser. If you choose to include this parameter, theRoleArnmust grant access toredshift:JoinGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseGroups
RedshiftIAMParameters.Builder databaseGroups(String... databaseGroups)
A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions are combined with the permissions granted to Amazon QuickSight by the
DatabaseUser. If you choose to include this parameter, theRoleArnmust grant access toredshift:JoinGroup.- Parameters:
databaseGroups- A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions are combined with the permissions granted to Amazon QuickSight by theDatabaseUser. If you choose to include this parameter, theRoleArnmust grant access toredshift:JoinGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoCreateDatabaseUser
RedshiftIAMParameters.Builder autoCreateDatabaseUser(Boolean autoCreateDatabaseUser)
Automatically creates a database user. If your database doesn't have a
DatabaseUser, set this parameter toTrue. If there is noDatabaseUser, Amazon QuickSight can't connect to your cluster. TheRoleArnthat you use for this operation must grant access toredshift:CreateClusterUserto successfully create the user.- Parameters:
autoCreateDatabaseUser- Automatically creates a database user. If your database doesn't have aDatabaseUser, set this parameter toTrue. If there is noDatabaseUser, Amazon QuickSight can't connect to your cluster. TheRoleArnthat you use for this operation must grant access toredshift:CreateClusterUserto successfully create the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-