@Generated(value="software.amazon.awssdk:codegen") public final class RedshiftDataParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>
These are custom parameters to be used when the target is a Redshift cluster to invoke the Redshift Data API ExecuteStatement based on EventBridge events.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RedshiftDataParameters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RedshiftDataParameters.Builder |
builder() |
String |
database()
The name of the database.
|
String |
dbUser()
The database user name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
secretManagerArn()
The name or ARN of the secret that enables access to the database.
|
static Class<? extends RedshiftDataParameters.Builder> |
serializableBuilderClass() |
String |
sql()
The SQL statement text to run.
|
String |
statementName()
The name of the SQL statement.
|
RedshiftDataParameters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
withEvent()
Indicates whether to send an event back to EventBridge after the SQL statement runs.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String secretManagerArn()
The name or ARN of the secret that enables access to the database. Required when authenticating using AWS Secrets Manager.
public String database()
The name of the database. Required when authenticating using temporary credentials.
public String dbUser()
The database user name. Required when authenticating using temporary credentials.
public String sql()
The SQL statement text to run.
public String statementName()
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
public Boolean withEvent()
Indicates whether to send an event back to EventBridge after the SQL statement runs.
public RedshiftDataParameters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>public static RedshiftDataParameters.Builder builder()
public static Class<? extends RedshiftDataParameters.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.