Class CfnCanary.DependencyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.CfnCanary.DependencyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCanary.DependencyProperty>
- Enclosing interface:
CfnCanary.DependencyProperty
@Stability(Stable)
public static final class CfnCanary.DependencyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCanary.DependencyProperty>
A builder for
CfnCanary.DependencyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCanary.DependencyProperty.getReference()Sets the value ofCfnCanary.DependencyProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reference
Sets the value ofCfnCanary.DependencyProperty.getReference()- Parameters:
reference- The dependency reference. This parameter is required. For Lambda layers, this is the ARN of the Lambda layer. For more information about Lambda ARN format, see Lambda .- Returns:
this
-
type
Sets the value ofCfnCanary.DependencyProperty.getType()- Parameters:
type- The type of dependency. Valid value isLambdaLayer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCanary.DependencyProperty>- Returns:
- a new instance of
CfnCanary.DependencyProperty - Throws:
NullPointerException- if any required attribute was not provided
-