Interface BatchDeleteRumMetricDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteRumMetricDefinitionsResponse.Builder,,BatchDeleteRumMetricDefinitionsResponse> RumResponse.Builder,SdkBuilder<BatchDeleteRumMetricDefinitionsResponse.Builder,,BatchDeleteRumMetricDefinitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteRumMetricDefinitionsResponse
public static interface BatchDeleteRumMetricDefinitionsResponse.Builder
extends RumResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteRumMetricDefinitionsResponse.Builder,BatchDeleteRumMetricDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn array of error objects, if the operation caused any errors.An array of error objects, if the operation caused any errors.errors(BatchDeleteRumMetricDefinitionsError... errors) An array of error objects, if the operation caused any errors.metricDefinitionIds(String... metricDefinitionIds) The IDs of the metric definitions that were deleted.metricDefinitionIds(Collection<String> metricDefinitionIds) The IDs of the metric definitions that were deleted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rum.model.RumResponse.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
-
errors
BatchDeleteRumMetricDefinitionsResponse.Builder errors(Collection<BatchDeleteRumMetricDefinitionsError> errors) An array of error objects, if the operation caused any errors.
- Parameters:
errors- An array of error objects, if the operation caused any errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteRumMetricDefinitionsResponse.Builder errors(BatchDeleteRumMetricDefinitionsError... errors) An array of error objects, if the operation caused any errors.
- Parameters:
errors- An array of error objects, if the operation caused any errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteRumMetricDefinitionsResponse.Builder errors(Consumer<BatchDeleteRumMetricDefinitionsError.Builder>... errors) An array of error objects, if the operation caused any errors.
This is a convenience method that creates an instance of theBatchDeleteRumMetricDefinitionsError.Builderavoiding the need to create one manually viaBatchDeleteRumMetricDefinitionsError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchDeleteRumMetricDefinitionsError>).- Parameters:
errors- a consumer that will call methods onBatchDeleteRumMetricDefinitionsError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricDefinitionIds
BatchDeleteRumMetricDefinitionsResponse.Builder metricDefinitionIds(Collection<String> metricDefinitionIds) The IDs of the metric definitions that were deleted.
- Parameters:
metricDefinitionIds- The IDs of the metric definitions that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitionIds
The IDs of the metric definitions that were deleted.
- Parameters:
metricDefinitionIds- The IDs of the metric definitions that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-