@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchExecuteStatementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchExecuteStatementResult() |
Modifier and Type | Method and Description |
---|---|
BatchExecuteStatementResult |
clone() |
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The cluster identifier.
|
Date |
getCreatedAt()
The date and time (UTC) the statement was created.
|
String |
getDatabase()
The name of the database.
|
String |
getDbUser()
The database user name.
|
String |
getId()
The identifier of the SQL statement whose results are to be fetched.
|
String |
getSecretArn()
The name or ARN of the secret that enables access to the database.
|
String |
getWorkgroupName()
The serverless workgroup name or Amazon Resource Name (ARN).
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
void |
setCreatedAt(Date createdAt)
The date and time (UTC) the statement was created.
|
void |
setDatabase(String database)
The name of the database.
|
void |
setDbUser(String dbUser)
The database user name.
|
void |
setId(String id)
The identifier of the SQL statement whose results are to be fetched.
|
void |
setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
void |
setWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
String |
toString()
Returns a string representation of this object.
|
BatchExecuteStatementResult |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
BatchExecuteStatementResult |
withCreatedAt(Date createdAt)
The date and time (UTC) the statement was created.
|
BatchExecuteStatementResult |
withDatabase(String database)
The name of the database.
|
BatchExecuteStatementResult |
withDbUser(String dbUser)
The database user name.
|
BatchExecuteStatementResult |
withId(String id)
The identifier of the SQL statement whose results are to be fetched.
|
BatchExecuteStatementResult |
withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
BatchExecuteStatementResult |
withWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
clusterIdentifier
- The cluster identifier. This element is not returned when connecting to a serverless workgroup.public String getClusterIdentifier()
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
public BatchExecuteStatementResult withClusterIdentifier(String clusterIdentifier)
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
clusterIdentifier
- The cluster identifier. This element is not returned when connecting to a serverless workgroup.public void setCreatedAt(Date createdAt)
The date and time (UTC) the statement was created.
createdAt
- The date and time (UTC) the statement was created.public Date getCreatedAt()
The date and time (UTC) the statement was created.
public BatchExecuteStatementResult withCreatedAt(Date createdAt)
The date and time (UTC) the statement was created.
createdAt
- The date and time (UTC) the statement was created.public void setDatabase(String database)
The name of the database.
database
- The name of the database.public String getDatabase()
The name of the database.
public BatchExecuteStatementResult withDatabase(String database)
The name of the database.
database
- The name of the database.public void setDbUser(String dbUser)
The database user name.
dbUser
- The database user name.public String getDbUser()
The database user name.
public BatchExecuteStatementResult withDbUser(String dbUser)
The database user name.
dbUser
- The database user name.public void setId(String id)
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique
identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by
BatchExecuteStatment
.
id
- The identifier of the SQL statement whose results are to be fetched. This value is a universally unique
identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by
BatchExecuteStatment
.public String getId()
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique
identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by
BatchExecuteStatment
.
BatchExecuteStatment
.public BatchExecuteStatementResult withId(String id)
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique
identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by
BatchExecuteStatment
.
id
- The identifier of the SQL statement whose results are to be fetched. This value is a universally unique
identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by
BatchExecuteStatment
.public void setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
secretArn
- The name or ARN of the secret that enables access to the database.public String getSecretArn()
The name or ARN of the secret that enables access to the database.
public BatchExecuteStatementResult withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
secretArn
- The name or ARN of the secret that enables access to the database.public void setWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
workgroupName
- The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting
to a provisioned cluster.public String getWorkgroupName()
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
public BatchExecuteStatementResult withWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
workgroupName
- The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting
to a provisioned cluster.public String toString()
toString
in class Object
Object.toString()
public BatchExecuteStatementResult clone()