Interface ValidateFlowDefinitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentResponse.Builder
,Buildable
,CopyableBuilder<ValidateFlowDefinitionResponse.Builder,
,ValidateFlowDefinitionResponse> SdkBuilder<ValidateFlowDefinitionResponse.Builder,
,ValidateFlowDefinitionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ValidateFlowDefinitionResponse
@Mutable
@NotThreadSafe
public static interface ValidateFlowDefinitionResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ValidateFlowDefinitionResponse.Builder,ValidateFlowDefinitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvalidations
(Collection<FlowValidation> validations) Contains an array of objects, each of which contains an error identified by validation.validations
(Consumer<FlowValidation.Builder>... validations) Contains an array of objects, each of which contains an error identified by validation.validations
(FlowValidation... validations) Contains an array of objects, each of which contains an error identified by validation.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
validations
Contains an array of objects, each of which contains an error identified by validation.
- Parameters:
validations
- Contains an array of objects, each of which contains an error identified by validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validations
Contains an array of objects, each of which contains an error identified by validation.
- Parameters:
validations
- Contains an array of objects, each of which contains an error identified by validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validations
Contains an array of objects, each of which contains an error identified by validation.
This is a convenience method that creates an instance of theFlowValidation.Builder
avoiding the need to create one manually viaFlowValidation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidations(List<FlowValidation>)
.- Parameters:
validations
- a consumer that will call methods onFlowValidation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-