@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DashboardError extends Object implements Serializable, Cloneable, StructuredPojo
Dashboard error.
Constructor and Description |
---|
DashboardError() |
Modifier and Type | Method and Description |
---|---|
DashboardError |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
Message.
|
String |
getType()
Type.
|
List<Entity> |
getViolatedEntities()
Lists the violated entities that caused the dashboard error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
Message.
|
void |
setType(String type)
Type.
|
void |
setViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the dashboard error.
|
String |
toString()
Returns a string representation of this object.
|
DashboardError |
withMessage(String message)
Message.
|
DashboardError |
withType(DashboardErrorType type)
Type.
|
DashboardError |
withType(String type)
Type.
|
DashboardError |
withViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the dashboard error.
|
DashboardError |
withViolatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the dashboard error.
|
public void setType(String type)
Type.
type
- Type.DashboardErrorType
public String getType()
Type.
DashboardErrorType
public DashboardError withType(String type)
Type.
type
- Type.DashboardErrorType
public DashboardError withType(DashboardErrorType type)
Type.
type
- Type.DashboardErrorType
public void setMessage(String message)
Message.
message
- Message.public String getMessage()
Message.
public DashboardError withMessage(String message)
Message.
message
- Message.public List<Entity> getViolatedEntities()
Lists the violated entities that caused the dashboard error.
public void setViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the dashboard error.
violatedEntities
- Lists the violated entities that caused the dashboard error.public DashboardError withViolatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the dashboard 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 dashboard error.public DashboardError withViolatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the dashboard error.
violatedEntities
- Lists the violated entities that caused the dashboard error.public String toString()
toString
in class Object
Object.toString()
public DashboardError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.