Interface DeleteCanaryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteCanaryRequest.Builder,,DeleteCanaryRequest> SdkBuilder<DeleteCanaryRequest.Builder,,DeleteCanaryRequest> SdkPojo,SdkRequest.Builder,SyntheticsRequest.Builder
- Enclosing class:
DeleteCanaryRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeleteLambda(Boolean deleteLambda) Specifies whether to also delete the Lambda functions and layers used by this canary.The name of the canary that you want to delete.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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.services.synthetics.model.SyntheticsRequest.Builder
build
-
Method Details
-
name
The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.
- Parameters:
name- The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteLambda
Specifies whether to also delete the Lambda functions and layers used by this canary. The default is
false.Your setting for this parameter is used only if the canary doesn't have
AUTOMATICfor itsProvisionedResourceCleanupfield. If that field is set toAUTOMATIC, then the Lambda functions and layers will be deleted when this canary is deleted.Type: Boolean
- Parameters:
deleteLambda- Specifies whether to also delete the Lambda functions and layers used by this canary. The default isfalse.Your setting for this parameter is used only if the canary doesn't have
AUTOMATICfor itsProvisionedResourceCleanupfield. If that field is set toAUTOMATIC, then the Lambda functions and layers will be deleted when this canary is deleted.Type: Boolean
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteCanaryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteCanaryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-