Interface RedshiftDataParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>,SdkBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>,SdkPojo
- Enclosing class:
- RedshiftDataParameters
public static interface RedshiftDataParameters.Builder extends SdkPojo, CopyableBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedshiftDataParameters.Builderdatabase(String database)The name of the database.RedshiftDataParameters.BuilderdbUser(String dbUser)The database user name.RedshiftDataParameters.BuildersecretManagerArn(String secretManagerArn)The name or ARN of the secret that enables access to the database.RedshiftDataParameters.Buildersql(String sql)The SQL statement text to run.RedshiftDataParameters.BuilderstatementName(String statementName)The name of the SQL statement.RedshiftDataParameters.BuilderwithEvent(Boolean withEvent)Indicates whether to send an event back to EventBridge after the SQL statement runs.-
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
-
secretManagerArn
RedshiftDataParameters.Builder secretManagerArn(String secretManagerArn)
The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
- Parameters:
secretManagerArn- The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
RedshiftDataParameters.Builder database(String database)
The name of the database. Required when authenticating using temporary credentials.
- Parameters:
database- The name of the database. Required when authenticating using temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbUser
RedshiftDataParameters.Builder dbUser(String dbUser)
The database user name. Required when authenticating using temporary credentials.
- Parameters:
dbUser- The database user name. Required when authenticating using temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sql
RedshiftDataParameters.Builder sql(String sql)
The SQL statement text to run.
- Parameters:
sql- The SQL statement text to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statementName
RedshiftDataParameters.Builder statementName(String statementName)
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
- Parameters:
statementName- The name of the SQL statement. You can name the SQL statement when you create it to identify the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvent
RedshiftDataParameters.Builder withEvent(Boolean withEvent)
Indicates whether to send an event back to EventBridge after the SQL statement runs.
- Parameters:
withEvent- Indicates whether to send an event back to EventBridge after the SQL statement runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-