Interface ValidateTelemetryPipelineConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ValidateTelemetryPipelineConfigurationResponse.Builder,,ValidateTelemetryPipelineConfigurationResponse> ObservabilityAdminResponse.Builder,SdkBuilder<ValidateTelemetryPipelineConfigurationResponse.Builder,,ValidateTelemetryPipelineConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ValidateTelemetryPipelineConfigurationResponse
@Mutable
@NotThreadSafe
public static interface ValidateTelemetryPipelineConfigurationResponse.Builder
extends ObservabilityAdminResponse.Builder, SdkPojo, CopyableBuilder<ValidateTelemetryPipelineConfigurationResponse.Builder,ValidateTelemetryPipelineConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<ValidationError> errors) A list of validation errors found in the pipeline configuration, if any.errors(Consumer<ValidationError.Builder>... errors) A list of validation errors found in the pipeline configuration, if any.errors(ValidationError... errors) A list of validation errors found in the pipeline configuration, if any.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
A list of validation errors found in the pipeline configuration, if any.
- Parameters:
errors- A list of validation errors found in the pipeline configuration, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of validation errors found in the pipeline configuration, if any.
- Parameters:
errors- A list of validation errors found in the pipeline configuration, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
ValidateTelemetryPipelineConfigurationResponse.Builder errors(Consumer<ValidationError.Builder>... errors) A list of validation errors found in the pipeline configuration, if any.
This is a convenience method that creates an instance of theValidationError.Builderavoiding the need to create one manually viaValidationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<ValidationError>).- Parameters:
errors- a consumer that will call methods onValidationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-