@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteStatementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ExecuteStatementResult() |
Modifier and Type | Method and Description |
---|---|
ExecuteStatementResult |
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.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteStatementResult |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
ExecuteStatementResult |
withCreatedAt(Date createdAt)
The date and time (UTC) the statement was created.
|
ExecuteStatementResult |
withDatabase(String database)
The name of the database.
|
ExecuteStatementResult |
withDbUser(String dbUser)
The database user name.
|
ExecuteStatementResult |
withId(String id)
The identifier of the SQL statement whose results are to be fetched.
|
ExecuteStatementResult |
withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier.
clusterIdentifier
- The cluster identifier.public String getClusterIdentifier()
The cluster identifier.
public ExecuteStatementResult withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
clusterIdentifier
- The cluster identifier.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 ExecuteStatementResult 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 ExecuteStatementResult 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 ExecuteStatementResult 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.
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.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.
public ExecuteStatementResult 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.
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.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 ExecuteStatementResult 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 String toString()
toString
in class Object
Object.toString()
public ExecuteStatementResult clone()