Interface FlowValidation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowValidation.Builder,
,FlowValidation> SdkBuilder<FlowValidation.Builder,
,FlowValidation> SdkPojo
- Enclosing class:
FlowValidation
@Mutable
@NotThreadSafe
public static interface FlowValidation.Builder
extends SdkPojo, CopyableBuilder<FlowValidation.Builder,FlowValidation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FlowValidation.Builder
details
(Consumer<FlowValidationDetails.Builder> details) Specific details about the validation issue encountered in the flow.details
(FlowValidationDetails details) Specific details about the validation issue encountered in the flow.A message describing the validation error.The severity of the issue described in the message.severity
(FlowValidationSeverity severity) The severity of the issue described in the message.The type of validation issue encountered in the flow.type
(FlowValidationType type) The type of validation issue encountered in the flow.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 Details
-
details
Specific details about the validation issue encountered in the flow.
- Parameters:
details
- Specific details about the validation issue encountered in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Specific details about the validation issue encountered in the flow.
This is a convenience method that creates an instance of theFlowValidationDetails.Builder
avoiding the need to create one manually viaFlowValidationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(FlowValidationDetails)
.- Parameters:
details
- a consumer that will call methods onFlowValidationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A message describing the validation error.
- Parameters:
message
- A message describing the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity of the issue described in the message.
- Parameters:
severity
- The severity of the issue described in the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the issue described in the message.
- Parameters:
severity
- The severity of the issue described in the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of validation issue encountered in the flow.
- Parameters:
type
- The type of validation issue encountered in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of validation issue encountered in the flow.
- Parameters:
type
- The type of validation issue encountered in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-