@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidateStateMachineDefinitionDiagnostic extends Object implements Serializable, Cloneable, StructuredPojo
Describes an error found during validation. Validation errors found in the definition return in the response as diagnostic elements, rather than raise an exception.
| Constructor and Description |
|---|
ValidateStateMachineDefinitionDiagnostic() |
| Modifier and Type | Method and Description |
|---|---|
ValidateStateMachineDefinitionDiagnostic |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
Identifying code for the diagnostic.
|
String |
getLocation()
Location of the issue in the state machine, if available.
|
String |
getMessage()
Message describing the diagnostic condition.
|
String |
getSeverity()
A value of
ERROR means that you cannot create or update a state machine with this definition. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
Identifying code for the diagnostic.
|
void |
setLocation(String location)
Location of the issue in the state machine, if available.
|
void |
setMessage(String message)
Message describing the diagnostic condition.
|
void |
setSeverity(String severity)
A value of
ERROR means that you cannot create or update a state machine with this definition. |
String |
toString()
Returns a string representation of this object.
|
ValidateStateMachineDefinitionDiagnostic |
withCode(String code)
Identifying code for the diagnostic.
|
ValidateStateMachineDefinitionDiagnostic |
withLocation(String location)
Location of the issue in the state machine, if available.
|
ValidateStateMachineDefinitionDiagnostic |
withMessage(String message)
Message describing the diagnostic condition.
|
ValidateStateMachineDefinitionDiagnostic |
withSeverity(String severity)
A value of
ERROR means that you cannot create or update a state machine with this definition. |
ValidateStateMachineDefinitionDiagnostic |
withSeverity(ValidateStateMachineDefinitionSeverity severity)
A value of
ERROR means that you cannot create or update a state machine with this definition. |
public ValidateStateMachineDefinitionDiagnostic()
public void setSeverity(String severity)
A value of ERROR means that you cannot create or update a state machine with this definition.
severity - A value of ERROR means that you cannot create or update a state machine with this definition.ValidateStateMachineDefinitionSeveritypublic String getSeverity()
A value of ERROR means that you cannot create or update a state machine with this definition.
ERROR means that you cannot create or update a state machine with this
definition.ValidateStateMachineDefinitionSeveritypublic ValidateStateMachineDefinitionDiagnostic withSeverity(String severity)
A value of ERROR means that you cannot create or update a state machine with this definition.
severity - A value of ERROR means that you cannot create or update a state machine with this definition.ValidateStateMachineDefinitionSeveritypublic ValidateStateMachineDefinitionDiagnostic withSeverity(ValidateStateMachineDefinitionSeverity severity)
A value of ERROR means that you cannot create or update a state machine with this definition.
severity - A value of ERROR means that you cannot create or update a state machine with this definition.ValidateStateMachineDefinitionSeveritypublic void setCode(String code)
Identifying code for the diagnostic.
code - Identifying code for the diagnostic.public String getCode()
Identifying code for the diagnostic.
public ValidateStateMachineDefinitionDiagnostic withCode(String code)
Identifying code for the diagnostic.
code - Identifying code for the diagnostic.public void setMessage(String message)
Message describing the diagnostic condition.
message - Message describing the diagnostic condition.public String getMessage()
Message describing the diagnostic condition.
public ValidateStateMachineDefinitionDiagnostic withMessage(String message)
Message describing the diagnostic condition.
message - Message describing the diagnostic condition.public void setLocation(String location)
Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format:
/States/<StateName>/<FieldName>, for example: /States/FailState/ErrorPath.
location - Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format:
/States/<StateName>/<FieldName>, for example:
/States/FailState/ErrorPath.
public String getLocation()
Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format:
/States/<StateName>/<FieldName>, for example: /States/FailState/ErrorPath.
For errors specific to a field, the location could be in the format:
/States/<StateName>/<FieldName>, for example:
/States/FailState/ErrorPath.
public ValidateStateMachineDefinitionDiagnostic withLocation(String location)
Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format:
/States/<StateName>/<FieldName>, for example: /States/FailState/ErrorPath.
location - Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format:
/States/<StateName>/<FieldName>, for example:
/States/FailState/ErrorPath.
public String toString()
toString in class ObjectObject.toString()public ValidateStateMachineDefinitionDiagnostic clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.