Interface ValidateStateMachineDefinitionDiagnostic.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ValidateStateMachineDefinitionDiagnostic.Builder,
,ValidateStateMachineDefinitionDiagnostic> SdkBuilder<ValidateStateMachineDefinitionDiagnostic.Builder,
,ValidateStateMachineDefinitionDiagnostic> SdkPojo
- Enclosing class:
ValidateStateMachineDefinitionDiagnostic
public static interface ValidateStateMachineDefinitionDiagnostic.Builder
extends SdkPojo, CopyableBuilder<ValidateStateMachineDefinitionDiagnostic.Builder,ValidateStateMachineDefinitionDiagnostic>
-
Method Summary
Modifier and TypeMethodDescriptionIdentifying code for the diagnostic.Location of the issue in the state machine, if available.Message describing the diagnostic condition.A value ofERROR
means that you cannot create or update a state machine with this definition.A value ofERROR
means that you cannot create or update a state machine with this definition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
severity
A value of
ERROR
means that you cannot create or update a state machine with this definition.- Parameters:
severity
- A value ofERROR
means that you cannot create or update a state machine with this definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
ValidateStateMachineDefinitionDiagnostic.Builder severity(ValidateStateMachineDefinitionSeverity severity) A value of
ERROR
means that you cannot create or update a state machine with this definition.- Parameters:
severity
- A value ofERROR
means that you cannot create or update a state machine with this definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
Identifying code for the diagnostic.
- Parameters:
code
- Identifying code for the diagnostic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
Message describing the diagnostic condition.
- Parameters:
message
- Message describing the diagnostic condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-