Interface ValidateStateMachineDefinitionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ValidateStateMachineDefinitionResponse.Builder,ValidateStateMachineDefinitionResponse>,SdkBuilder<ValidateStateMachineDefinitionResponse.Builder,ValidateStateMachineDefinitionResponse>,SdkPojo,SdkResponse.Builder,SfnResponse.Builder
- Enclosing class:
- ValidateStateMachineDefinitionResponse
public static interface ValidateStateMachineDefinitionResponse.Builder extends SfnResponse.Builder, SdkPojo, CopyableBuilder<ValidateStateMachineDefinitionResponse.Builder,ValidateStateMachineDefinitionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidateStateMachineDefinitionResponse.Builderdiagnostics(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics)An array of diagnostic errors and warnings found during validation of the state machine definition.ValidateStateMachineDefinitionResponse.Builderdiagnostics(Consumer<ValidateStateMachineDefinitionDiagnostic.Builder>... diagnostics)An array of diagnostic errors and warnings found during validation of the state machine definition.ValidateStateMachineDefinitionResponse.Builderdiagnostics(ValidateStateMachineDefinitionDiagnostic... diagnostics)An array of diagnostic errors and warnings found during validation of the state machine definition.ValidateStateMachineDefinitionResponse.Builderresult(String result)The result value will beOKwhen no syntax errors are found, orFAILif the workflow definition does not pass verification.ValidateStateMachineDefinitionResponse.Builderresult(ValidateStateMachineDefinitionResultCode result)The result value will beOKwhen no syntax errors are found, orFAILif the workflow definition does not pass verification.ValidateStateMachineDefinitionResponse.Buildertruncated(Boolean truncated)The result value will betrueif the number of diagnostics found in the workflow definition exceedsmaxResults.-
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
-
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 Detail
-
result
ValidateStateMachineDefinitionResponse.Builder result(String result)
The result value will be
OKwhen no syntax errors are found, orFAILif the workflow definition does not pass verification.- Parameters:
result- The result value will beOKwhen no syntax errors are found, orFAILif the workflow definition does not pass verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidateStateMachineDefinitionResultCode,ValidateStateMachineDefinitionResultCode
-
result
ValidateStateMachineDefinitionResponse.Builder result(ValidateStateMachineDefinitionResultCode result)
The result value will be
OKwhen no syntax errors are found, orFAILif the workflow definition does not pass verification.- Parameters:
result- The result value will beOKwhen no syntax errors are found, orFAILif the workflow definition does not pass verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidateStateMachineDefinitionResultCode,ValidateStateMachineDefinitionResultCode
-
diagnostics
ValidateStateMachineDefinitionResponse.Builder diagnostics(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics)
An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could be
OKeven when warning diagnostics are present in the response.- Parameters:
diagnostics- An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could beOKeven when warning diagnostics are present in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diagnostics
ValidateStateMachineDefinitionResponse.Builder diagnostics(ValidateStateMachineDefinitionDiagnostic... diagnostics)
An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could be
OKeven when warning diagnostics are present in the response.- Parameters:
diagnostics- An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could beOKeven when warning diagnostics are present in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diagnostics
ValidateStateMachineDefinitionResponse.Builder diagnostics(Consumer<ValidateStateMachineDefinitionDiagnostic.Builder>... diagnostics)
An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could be
This is a convenience method that creates an instance of theOKeven when warning diagnostics are present in the response.ValidateStateMachineDefinitionDiagnostic.Builderavoiding the need to create one manually viaValidateStateMachineDefinitionDiagnostic.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#diagnostics(List.) - 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:
#diagnostics(java.util.Collection)
-
truncated
ValidateStateMachineDefinitionResponse.Builder truncated(Boolean truncated)
The result value will be
trueif the number of diagnostics found in the workflow definition exceedsmaxResults. When all diagnostics results are returned, the value will befalse.- Parameters:
truncated- The result value will betrueif the number of diagnostics found in the workflow definition exceedsmaxResults. When all diagnostics results are returned, the value will befalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-