Interface ValidatePipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ValidatePipelineResponse.Builder,,ValidatePipelineResponse> OsisResponse.Builder,SdkBuilder<ValidatePipelineResponse.Builder,,ValidatePipelineResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ValidatePipelineResponse
public static interface ValidatePipelineResponse.Builder
extends OsisResponse.Builder, SdkPojo, CopyableBuilder<ValidatePipelineResponse.Builder,ValidatePipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<ValidationMessage> errors) A list of errors if the configuration is invalid.errors(Consumer<ValidationMessage.Builder>... errors) A list of errors if the configuration is invalid.errors(ValidationMessage... errors) A list of errors if the configuration is invalid.A boolean indicating whether or not the pipeline configuration is valid.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.osis.model.OsisResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
isValid
A boolean indicating whether or not the pipeline configuration is valid.
- Parameters:
isValid- A boolean indicating whether or not the pipeline configuration is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors if the configuration is invalid.
- Parameters:
errors- A list of errors if the configuration is invalid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors if the configuration is invalid.
- Parameters:
errors- A list of errors if the configuration is invalid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors if the configuration is invalid.
This is a convenience method that creates an instance of theValidationMessage.Builderavoiding the need to create one manually viaValidationMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<ValidationMessage>).- Parameters:
errors- a consumer that will call methods onValidationMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-