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