@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.AnalysisErrorType
public String getType()
The type of the analysis error.
AnalysisErrorType
public AnalysisError withType(String type)
The type of the analysis error.
type
- The type of the analysis error.AnalysisErrorType
public AnalysisError withType(AnalysisErrorType type)
The type of the analysis error.
type
- The type of the analysis error.AnalysisErrorType
public 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 Object
Object.toString()
public AnalysisError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.