Class CfnLifecyclePolicy.EventSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EventSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecyclePolicy.EventSourceProperty>
- Enclosing interface:
CfnLifecyclePolicy.EventSourceProperty
@Stability(Stable)
public static final class CfnLifecyclePolicy.EventSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecyclePolicy.EventSourceProperty>
A builder for
CfnLifecyclePolicy.EventSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.parameters
(IResolvable parameters) Sets the value ofCfnLifecyclePolicy.EventSourceProperty.getParameters()
parameters
(CfnLifecyclePolicy.EventParametersProperty parameters) Sets the value ofCfnLifecyclePolicy.EventSourceProperty.getParameters()
Sets the value ofCfnLifecyclePolicy.EventSourceProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnLifecyclePolicy.EventSourceProperty.getType()
- Parameters:
type
- The source of the event. This parameter is required. Currently only managed CloudWatch Events rules are supported.- Returns:
this
-
parameters
@Stability(Stable) public CfnLifecyclePolicy.EventSourceProperty.Builder parameters(IResolvable parameters) Sets the value ofCfnLifecyclePolicy.EventSourceProperty.getParameters()
- Parameters:
parameters
- Information about the event.- Returns:
this
-
parameters
@Stability(Stable) public CfnLifecyclePolicy.EventSourceProperty.Builder parameters(CfnLifecyclePolicy.EventParametersProperty parameters) Sets the value ofCfnLifecyclePolicy.EventSourceProperty.getParameters()
- Parameters:
parameters
- Information about the event.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLifecyclePolicy.EventSourceProperty>
- Returns:
- a new instance of
CfnLifecyclePolicy.EventSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-