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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidateStateMachineDefinitionDiagnostic.Buildercode(String code)Identifying code for the diagnostic.ValidateStateMachineDefinitionDiagnostic.Builderlocation(String location)Location of the issue in the state machine, if available.ValidateStateMachineDefinitionDiagnostic.Buildermessage(String message)Message describing the diagnostic condition.ValidateStateMachineDefinitionDiagnostic.Builderseverity(String severity)A value ofERRORmeans that you cannot create or update a state machine with this definition.ValidateStateMachineDefinitionDiagnostic.Builderseverity(ValidateStateMachineDefinitionSeverity severity)A value ofERRORmeans 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
severity
ValidateStateMachineDefinitionDiagnostic.Builder severity(String severity)
A value of
ERRORmeans that you cannot create or update a state machine with this definition.WARNINGlevel diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.- Parameters:
severity- A value ofERRORmeans that you cannot create or update a state machine with this definition.WARNINGlevel diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidateStateMachineDefinitionSeverity,ValidateStateMachineDefinitionSeverity
-
severity
ValidateStateMachineDefinitionDiagnostic.Builder severity(ValidateStateMachineDefinitionSeverity severity)
A value of
ERRORmeans that you cannot create or update a state machine with this definition.WARNINGlevel diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.- Parameters:
severity- A value ofERRORmeans that you cannot create or update a state machine with this definition.WARNINGlevel diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidateStateMachineDefinitionSeverity,ValidateStateMachineDefinitionSeverity
-
code
ValidateStateMachineDefinitionDiagnostic.Builder code(String 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
ValidateStateMachineDefinitionDiagnostic.Builder message(String 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
ValidateStateMachineDefinitionDiagnostic.Builder location(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.- 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.
-
-