@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 Amazon Redshift cluster to invoke the Amazon 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, wait
copy
public final String secretManagerArn()
The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
public final String database()
The name of the database. Required when authenticating using temporary credentials.
public final String dbUser()
The database user name. Required when authenticating using temporary credentials.
public final String sql()
The SQL statement text to run.
public final String statementName()
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.