Interface ValidateStateMachineDefinitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ValidateStateMachineDefinitionResponse.Builder,
,ValidateStateMachineDefinitionResponse> SdkBuilder<ValidateStateMachineDefinitionResponse.Builder,
,ValidateStateMachineDefinitionResponse> SdkPojo
,SdkResponse.Builder
,SfnResponse.Builder
- Enclosing class:
ValidateStateMachineDefinitionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondiagnostics
(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics) If the result isOK
, this field will be empty.diagnostics
(Consumer<ValidateStateMachineDefinitionDiagnostic.Builder>... diagnostics) If the result isOK
, this field will be empty.diagnostics
(ValidateStateMachineDefinitionDiagnostic... diagnostics) If the result isOK
, this field will be empty.The result value will beOK
when no syntax errors are found, orFAIL
if the workflow definition does not pass verification.The result value will beOK
when no syntax errors are found, orFAIL
if the workflow definition does not pass verification.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
result
The result value will be
OK
when no syntax errors are found, orFAIL
if the workflow definition does not pass verification.- Parameters:
result
- The result value will beOK
when no syntax errors are found, orFAIL
if the workflow definition does not pass verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
ValidateStateMachineDefinitionResponse.Builder result(ValidateStateMachineDefinitionResultCode result) The result value will be
OK
when no syntax errors are found, orFAIL
if the workflow definition does not pass verification.- Parameters:
result
- The result value will beOK
when no syntax errors are found, orFAIL
if the workflow definition does not pass verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
diagnostics
ValidateStateMachineDefinitionResponse.Builder diagnostics(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.- Parameters:
diagnostics
- If the result isOK
, this field will be empty. When there are errors, this field will contain an array of Diagnostic objects to help you troubleshoot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diagnostics
ValidateStateMachineDefinitionResponse.Builder diagnostics(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.- Parameters:
diagnostics
- If the result isOK
, this field will be empty. When there are errors, this field will contain an array of Diagnostic objects to help you troubleshoot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diagnostics
ValidateStateMachineDefinitionResponse.Builder diagnostics(Consumer<ValidateStateMachineDefinitionDiagnostic.Builder>... diagnostics) If the result is
This is a convenience method that creates an instance of theOK
, this field will be empty. When there are errors, this field will contain an array of Diagnostic objects to help you troubleshoot.ValidateStateMachineDefinitionDiagnostic.Builder
avoiding the need to create one manually viaValidateStateMachineDefinitionDiagnostic.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todiagnostics(List<ValidateStateMachineDefinitionDiagnostic>)
.- Parameters:
diagnostics
- a consumer that will call methods onValidateStateMachineDefinitionDiagnostic.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-