@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowValidation extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about validation of the flow.
This data type is used in the following API operations:
Constructor and Description |
---|
FlowValidation() |
Modifier and Type | Method and Description |
---|---|
FlowValidation |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A message describing the validation error.
|
String |
getSeverity()
The severity of the issue described in the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
A message describing the validation error.
|
void |
setSeverity(String severity)
The severity of the issue described in the message.
|
String |
toString()
Returns a string representation of this object.
|
FlowValidation |
withMessage(String message)
A message describing the validation error.
|
FlowValidation |
withSeverity(FlowValidationSeverity severity)
The severity of the issue described in the message.
|
FlowValidation |
withSeverity(String severity)
The severity of the issue described in the message.
|
public void setMessage(String message)
A message describing the validation error.
message
- A message describing the validation error.public String getMessage()
A message describing the validation error.
public FlowValidation withMessage(String message)
A message describing the validation error.
message
- A message describing the validation error.public void setSeverity(String severity)
The severity of the issue described in the message.
severity
- The severity of the issue described in the message.FlowValidationSeverity
public String getSeverity()
The severity of the issue described in the message.
FlowValidationSeverity
public FlowValidation withSeverity(String severity)
The severity of the issue described in the message.
severity
- The severity of the issue described in the message.FlowValidationSeverity
public FlowValidation withSeverity(FlowValidationSeverity severity)
The severity of the issue described in the message.
severity
- The severity of the issue described in the message.FlowValidationSeverity
public String toString()
toString
in class Object
Object.toString()
public FlowValidation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.