@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetTableOptimizerError extends Object implements Serializable, Cloneable, StructuredPojo
Contains details on one of the errors in the error list returned by the BatchGetTableOptimizer
operation.
Constructor and Description |
---|
BatchGetTableOptimizerError() |
Modifier and Type | Method and Description |
---|---|
BatchGetTableOptimizerError |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The Catalog ID of the table.
|
String |
getDatabaseName()
The name of the database in the catalog in which the table resides.
|
ErrorDetail |
getError()
An
ErrorDetail object containing code and message details about the error. |
String |
getTableName()
The name of the table.
|
String |
getType()
The type of table optimizer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogId(String catalogId)
The Catalog ID of the table.
|
void |
setDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides.
|
void |
setError(ErrorDetail error)
An
ErrorDetail object containing code and message details about the error. |
void |
setTableName(String tableName)
The name of the table.
|
void |
setType(String type)
The type of table optimizer.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetTableOptimizerError |
withCatalogId(String catalogId)
The Catalog ID of the table.
|
BatchGetTableOptimizerError |
withDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides.
|
BatchGetTableOptimizerError |
withError(ErrorDetail error)
An
ErrorDetail object containing code and message details about the error. |
BatchGetTableOptimizerError |
withTableName(String tableName)
The name of the table.
|
BatchGetTableOptimizerError |
withType(String type)
The type of table optimizer.
|
BatchGetTableOptimizerError |
withType(TableOptimizerType type)
The type of table optimizer.
|
public void setError(ErrorDetail error)
An ErrorDetail
object containing code and message details about the error.
error
- An ErrorDetail
object containing code and message details about the error.public ErrorDetail getError()
An ErrorDetail
object containing code and message details about the error.
ErrorDetail
object containing code and message details about the error.public BatchGetTableOptimizerError withError(ErrorDetail error)
An ErrorDetail
object containing code and message details about the error.
error
- An ErrorDetail
object containing code and message details about the error.public void setCatalogId(String catalogId)
The Catalog ID of the table.
catalogId
- The Catalog ID of the table.public String getCatalogId()
The Catalog ID of the table.
public BatchGetTableOptimizerError withCatalogId(String catalogId)
The Catalog ID of the table.
catalogId
- The Catalog ID of the table.public void setDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides.
databaseName
- The name of the database in the catalog in which the table resides.public String getDatabaseName()
The name of the database in the catalog in which the table resides.
public BatchGetTableOptimizerError withDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides.
databaseName
- The name of the database in the catalog in which the table resides.public void setTableName(String tableName)
The name of the table.
tableName
- The name of the table.public String getTableName()
The name of the table.
public BatchGetTableOptimizerError withTableName(String tableName)
The name of the table.
tableName
- The name of the table.public void setType(String type)
The type of table optimizer.
type
- The type of table optimizer.TableOptimizerType
public String getType()
The type of table optimizer.
TableOptimizerType
public BatchGetTableOptimizerError withType(String type)
The type of table optimizer.
type
- The type of table optimizer.TableOptimizerType
public BatchGetTableOptimizerError withType(TableOptimizerType type)
The type of table optimizer.
type
- The type of table optimizer.TableOptimizerType
public String toString()
toString
in class Object
Object.toString()
public BatchGetTableOptimizerError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.