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
- ARN of the Lambda layer. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnCanary.DependencyProperty.getType()
- Parameters:
type
- Type of dependency.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCanary.DependencyProperty>
- Returns:
- a new instance of
CfnCanary.DependencyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-