@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisError extends Object implements Serializable, Cloneable, StructuredPojo
Analysis error.
| Constructor and Description |
|---|
AnalysisError() |
| Modifier and Type | Method and Description |
|---|---|
AnalysisError |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The message associated with the analysis error.
|
String |
getType()
The type of the analysis error.
|
List<Entity> |
getViolatedEntities()
Lists the violated entities that caused the analysis error
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
The message associated with the analysis error.
|
void |
setType(String type)
The type of the analysis error.
|
void |
setViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the analysis error
|
String |
toString()
Returns a string representation of this object.
|
AnalysisError |
withMessage(String message)
The message associated with the analysis error.
|
AnalysisError |
withType(AnalysisErrorType type)
The type of the analysis error.
|
AnalysisError |
withType(String type)
The type of the analysis error.
|
AnalysisError |
withViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the analysis error
|
AnalysisError |
withViolatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the analysis error
|
public void setType(String type)
The type of the analysis error.
type - The type of the analysis error.AnalysisErrorTypepublic String getType()
The type of the analysis error.
AnalysisErrorTypepublic AnalysisError withType(String type)
The type of the analysis error.
type - The type of the analysis error.AnalysisErrorTypepublic AnalysisError withType(AnalysisErrorType type)
The type of the analysis error.
type - The type of the analysis error.AnalysisErrorTypepublic void setMessage(String message)
The message associated with the analysis error.
message - The message associated with the analysis error.public String getMessage()
The message associated with the analysis error.
public AnalysisError withMessage(String message)
The message associated with the analysis error.
message - The message associated with the analysis error.public List<Entity> getViolatedEntities()
Lists the violated entities that caused the analysis error
public void setViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the analysis error
violatedEntities - Lists the violated entities that caused the analysis errorpublic AnalysisError withViolatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the analysis error
NOTE: This method appends the values to the existing list (if any). Use
setViolatedEntities(java.util.Collection) or withViolatedEntities(java.util.Collection) if you
want to override the existing values.
violatedEntities - Lists the violated entities that caused the analysis errorpublic AnalysisError withViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the analysis error
violatedEntities - Lists the violated entities that caused the analysis errorpublic String toString()
toString in class ObjectObject.toString()public AnalysisError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.