@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidateStateMachineDefinitionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ValidateStateMachineDefinitionResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ValidateStateMachineDefinitionResult | clone() | 
| boolean | equals(Object obj) | 
| List<ValidateStateMachineDefinitionDiagnostic> | getDiagnostics()
 If the result is  OK, this field will be empty. | 
| String | getResult()
 The result value will be  OKwhen no syntax errors are found, orFAILif the workflow
 definition does not pass verification. | 
| int | hashCode() | 
| void | setDiagnostics(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics)
 If the result is  OK, this field will be empty. | 
| void | setResult(String result)
 The result value will be  OKwhen no syntax errors are found, orFAILif the workflow
 definition does not pass verification. | 
| String | toString()Returns a string representation of this object. | 
| ValidateStateMachineDefinitionResult | withDiagnostics(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics)
 If the result is  OK, this field will be empty. | 
| ValidateStateMachineDefinitionResult | withDiagnostics(ValidateStateMachineDefinitionDiagnostic... diagnostics)
 If the result is  OK, this field will be empty. | 
| ValidateStateMachineDefinitionResult | withResult(String result)
 The result value will be  OKwhen no syntax errors are found, orFAILif the workflow
 definition does not pass verification. | 
| ValidateStateMachineDefinitionResult | withResult(ValidateStateMachineDefinitionResultCode result)
 The result value will be  OKwhen no syntax errors are found, orFAILif the workflow
 definition does not pass verification. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic ValidateStateMachineDefinitionResult()
public void setResult(String result)
 The result value will be OK when no syntax errors are found, or FAIL if the workflow
 definition does not pass verification.
 
result - The result value will be OK when no syntax errors are found, or FAIL if the
        workflow definition does not pass verification.ValidateStateMachineDefinitionResultCodepublic String getResult()
 The result value will be OK when no syntax errors are found, or FAIL if the workflow
 definition does not pass verification.
 
OK when no syntax errors are found, or FAIL if the
         workflow definition does not pass verification.ValidateStateMachineDefinitionResultCodepublic ValidateStateMachineDefinitionResult withResult(String result)
 The result value will be OK when no syntax errors are found, or FAIL if the workflow
 definition does not pass verification.
 
result - The result value will be OK when no syntax errors are found, or FAIL if the
        workflow definition does not pass verification.ValidateStateMachineDefinitionResultCodepublic ValidateStateMachineDefinitionResult withResult(ValidateStateMachineDefinitionResultCode result)
 The result value will be OK when no syntax errors are found, or FAIL if the workflow
 definition does not pass verification.
 
result - The result value will be OK when no syntax errors are found, or FAIL if the
        workflow definition does not pass verification.ValidateStateMachineDefinitionResultCodepublic List<ValidateStateMachineDefinitionDiagnostic> getDiagnostics()
 If the result is OK, this field will be empty. When there are errors, this field will contain an
 array of Diagnostic objects to help you troubleshoot.
 
OK, this field will be empty. When there are errors, this field will
         contain an array of Diagnostic objects to help you troubleshoot.public void setDiagnostics(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics)
 If the result is OK, this field will be empty. When there are errors, this field will contain an
 array of Diagnostic objects to help you troubleshoot.
 
diagnostics - If the result is OK, this field will be empty. When there are errors, this field will contain
        an array of Diagnostic objects to help you troubleshoot.public ValidateStateMachineDefinitionResult withDiagnostics(ValidateStateMachineDefinitionDiagnostic... diagnostics)
 If the result is OK, this field will be empty. When there are errors, this field will contain an
 array of Diagnostic objects to help you troubleshoot.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setDiagnostics(java.util.Collection) or withDiagnostics(java.util.Collection) if you want to
 override the existing values.
 
diagnostics - If the result is OK, this field will be empty. When there are errors, this field will contain
        an array of Diagnostic objects to help you troubleshoot.public ValidateStateMachineDefinitionResult withDiagnostics(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics)
 If the result is OK, this field will be empty. When there are errors, this field will contain an
 array of Diagnostic objects to help you troubleshoot.
 
diagnostics - If the result is OK, this field will be empty. When there are errors, this field will contain
        an array of Diagnostic objects to help you troubleshoot.public String toString()
toString in class ObjectObject.toString()public ValidateStateMachineDefinitionResult clone()