Interface BatchDeleteInstrumentationConfigurationsResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteInstrumentationConfigurationsResponse.Builder,,BatchDeleteInstrumentationConfigurationsResponse> SdkBuilder<BatchDeleteInstrumentationConfigurationsResponse.Builder,,BatchDeleteInstrumentationConfigurationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteInstrumentationConfigurationsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondeletedCount(Integer deletedCount) Number of configurations successfully deleted.errors(Collection<BatchDeleteError> errors) List of configurations that failed to delete.errors(Consumer<BatchDeleteError.Builder>... errors) List of configurations that failed to delete.errors(BatchDeleteError... errors) List of configurations that failed to delete.successfulDeletions(Collection<BatchDeleteSuccessfulDeletion> successfulDeletions) List of successfully deleted configurations.successfulDeletions(Consumer<BatchDeleteSuccessfulDeletion.Builder>... successfulDeletions) List of successfully deleted configurations.successfulDeletions(BatchDeleteSuccessfulDeletion... successfulDeletions) List of successfully deleted configurations.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
deletedCount
Number of configurations successfully deleted. When deleting by scope, this is the total count of deleted items. When deleting by ARN list, this equals the length of SuccessfulDeletions.
- Parameters:
deletedCount- Number of configurations successfully deleted. When deleting by scope, this is the total count of deleted items. When deleting by ARN list, this equals the length of SuccessfulDeletions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulDeletions
BatchDeleteInstrumentationConfigurationsResponse.Builder successfulDeletions(Collection<BatchDeleteSuccessfulDeletion> successfulDeletions) List of successfully deleted configurations. Deleting by scope populates SignalType and LocationHash per item. Deleting by ARN list populates ResourceArn per item.
- Parameters:
successfulDeletions- List of successfully deleted configurations. Deleting by scope populates SignalType and LocationHash per item. Deleting by ARN list populates ResourceArn per item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulDeletions
BatchDeleteInstrumentationConfigurationsResponse.Builder successfulDeletions(BatchDeleteSuccessfulDeletion... successfulDeletions) List of successfully deleted configurations. Deleting by scope populates SignalType and LocationHash per item. Deleting by ARN list populates ResourceArn per item.
- Parameters:
successfulDeletions- List of successfully deleted configurations. Deleting by scope populates SignalType and LocationHash per item. Deleting by ARN list populates ResourceArn per item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulDeletions
BatchDeleteInstrumentationConfigurationsResponse.Builder successfulDeletions(Consumer<BatchDeleteSuccessfulDeletion.Builder>... successfulDeletions) List of successfully deleted configurations. Deleting by scope populates SignalType and LocationHash per item. Deleting by ARN list populates ResourceArn per item.
This is a convenience method that creates an instance of theBatchDeleteSuccessfulDeletion.Builderavoiding the need to create one manually viaBatchDeleteSuccessfulDeletion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulDeletions(List<BatchDeleteSuccessfulDeletion>).- Parameters:
successfulDeletions- a consumer that will call methods onBatchDeleteSuccessfulDeletion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchDeleteInstrumentationConfigurationsResponse.Builder errors(Collection<BatchDeleteError> errors) List of configurations that failed to delete.
- Parameters:
errors- List of configurations that failed to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
List of configurations that failed to delete.
- Parameters:
errors- List of configurations that failed to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteInstrumentationConfigurationsResponse.Builder errors(Consumer<BatchDeleteError.Builder>... errors) List of configurations that failed to delete.
This is a convenience method that creates an instance of theBatchDeleteError.Builderavoiding the need to create one manually viaBatchDeleteError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchDeleteError>).- Parameters:
errors- a consumer that will call methods onBatchDeleteError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-