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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FlowValidation.Builderdetails(Consumer<FlowValidationDetails.Builder> details)Specific details about the validation issue encountered in the flow.FlowValidation.Builderdetails(FlowValidationDetails details)Specific details about the validation issue encountered in the flow.FlowValidation.Buildermessage(String message)A message describing the validation error.FlowValidation.Builderseverity(String severity)The severity of the issue described in the message.FlowValidation.Builderseverity(FlowValidationSeverity severity)The severity of the issue described in the message.FlowValidation.Buildertype(String type)The type of validation issue encountered in the flow.FlowValidation.Buildertype(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 Detail
-
message
FlowValidation.Builder message(String 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
FlowValidation.Builder severity(String 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:
FlowValidationSeverity,FlowValidationSeverity
-
severity
FlowValidation.Builder severity(FlowValidationSeverity 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:
FlowValidationSeverity,FlowValidationSeverity
-
details
FlowValidation.Builder details(FlowValidationDetails 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
default FlowValidation.Builder details(Consumer<FlowValidationDetails.Builder> details)
Specific details about the validation issue encountered in the flow.
This is a convenience method that creates an instance of theFlowValidationDetails.Builderavoiding the need to create one manually viaFlowValidationDetails.builder().When the
Consumercompletes,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:
details(FlowValidationDetails)
-
type
FlowValidation.Builder type(String 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:
FlowValidationType,FlowValidationType
-
type
FlowValidation.Builder type(FlowValidationType 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:
FlowValidationType,FlowValidationType
-
-