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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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
AUTOMATIC
for itsProvisionedResourceCleanup
field. 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
AUTOMATIC
for itsProvisionedResourceCleanup
field. 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-