public static final class CfnLifecyclePolicy.EventSourceProperty.Builder
extends java.lang.Object
CfnLifecyclePolicy.EventSourceProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLifecyclePolicy.EventSourceProperty |
build()
Builds the configured instance.
|
CfnLifecyclePolicy.EventSourceProperty.Builder |
parameters(CfnLifecyclePolicy.EventParametersProperty parameters)
Sets the value of
CfnLifecyclePolicy.EventSourceProperty.getParameters() |
CfnLifecyclePolicy.EventSourceProperty.Builder |
parameters(IResolvable parameters)
Sets the value of
CfnLifecyclePolicy.EventSourceProperty.getParameters() |
CfnLifecyclePolicy.EventSourceProperty.Builder |
type(java.lang.String type)
Sets the value of
CfnLifecyclePolicy.EventSourceProperty.getType() |
public CfnLifecyclePolicy.EventSourceProperty.Builder type(java.lang.String type)
CfnLifecyclePolicy.EventSourceProperty.getType()
type
- The source of the event. This parameter is required.
Currently only managed CloudWatch Events rules are supported.this
public CfnLifecyclePolicy.EventSourceProperty.Builder parameters(IResolvable parameters)
CfnLifecyclePolicy.EventSourceProperty.getParameters()
parameters
- Information about the event.this
public CfnLifecyclePolicy.EventSourceProperty.Builder parameters(CfnLifecyclePolicy.EventParametersProperty parameters)
CfnLifecyclePolicy.EventSourceProperty.getParameters()
parameters
- Information about the event.this
public CfnLifecyclePolicy.EventSourceProperty build()
CfnLifecyclePolicy.EventSourceProperty
java.lang.NullPointerException
- if any required attribute was not provided