Interface DeleteCanaryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteCanaryRequest.Builder,,DeleteCanaryRequest> SdkBuilder<DeleteCanaryRequest.Builder,,DeleteCanaryRequest> SdkPojo,SdkRequest.Builder,SyntheticsRequest.Builder
- Enclosing class:
DeleteCanaryRequest
public static interface DeleteCanaryRequest.Builder
extends SyntheticsRequest.Builder, SdkPojo, CopyableBuilder<DeleteCanaryRequest.Builder,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, 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.
Type: Boolean
- Parameters:
deleteLambda- Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.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.
-