@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
copy
public final String secretManagerArn()
The name or ARN of the secret that enables access to the database. Required when authenticating using AWS 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()