@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetSchemaAnalysisRuleError extends Object implements Serializable, Cloneable, StructuredPojo
An error that describes why a schema could not be fetched.
Constructor and Description |
---|
BatchGetSchemaAnalysisRuleError() |
Modifier and Type | Method and Description |
---|---|
BatchGetSchemaAnalysisRuleError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
An error code for the error.
|
String |
getMessage()
A description of why the call failed.
|
String |
getName()
An error name for the error.
|
String |
getType()
The analysis rule type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
An error code for the error.
|
void |
setMessage(String message)
A description of why the call failed.
|
void |
setName(String name)
An error name for the error.
|
void |
setType(String type)
The analysis rule type.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetSchemaAnalysisRuleError |
withCode(String code)
An error code for the error.
|
BatchGetSchemaAnalysisRuleError |
withMessage(String message)
A description of why the call failed.
|
BatchGetSchemaAnalysisRuleError |
withName(String name)
An error name for the error.
|
BatchGetSchemaAnalysisRuleError |
withType(AnalysisRuleType type)
The analysis rule type.
|
BatchGetSchemaAnalysisRuleError |
withType(String type)
The analysis rule type.
|
public void setName(String name)
An error name for the error.
name
- An error name for the error.public String getName()
An error name for the error.
public BatchGetSchemaAnalysisRuleError withName(String name)
An error name for the error.
name
- An error name for the error.public void setType(String type)
The analysis rule type.
type
- The analysis rule type.AnalysisRuleType
public String getType()
The analysis rule type.
AnalysisRuleType
public BatchGetSchemaAnalysisRuleError withType(String type)
The analysis rule type.
type
- The analysis rule type.AnalysisRuleType
public BatchGetSchemaAnalysisRuleError withType(AnalysisRuleType type)
The analysis rule type.
type
- The analysis rule type.AnalysisRuleType
public void setCode(String code)
An error code for the error.
code
- An error code for the error.public String getCode()
An error code for the error.
public BatchGetSchemaAnalysisRuleError withCode(String code)
An error code for the error.
code
- An error code for the error.public void setMessage(String message)
A description of why the call failed.
message
- A description of why the call failed.public String getMessage()
A description of why the call failed.
public BatchGetSchemaAnalysisRuleError withMessage(String message)
A description of why the call failed.
message
- A description of why the call failed.public String toString()
toString
in class Object
Object.toString()
public BatchGetSchemaAnalysisRuleError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.