@Stability(value=External) public static final class CfnRuleProps.Builder extends Object
CfnRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleProps |
build()
Builds the configured instance.
|
CfnRuleProps.Builder |
description(String description)
Sets the value of Description
|
CfnRuleProps.Builder |
eventBusName(String eventBusName)
Sets the value of EventBusName
|
CfnRuleProps.Builder |
eventPattern(Object eventPattern)
Sets the value of EventPattern
|
CfnRuleProps.Builder |
name(String name)
Sets the value of Name
|
CfnRuleProps.Builder |
roleArn(String roleArn)
Sets the value of RoleArn
|
CfnRuleProps.Builder |
scheduleExpression(String scheduleExpression)
Sets the value of ScheduleExpression
|
CfnRuleProps.Builder |
state(String state)
Sets the value of State
|
CfnRuleProps.Builder |
targets(IResolvable targets)
Sets the value of Targets
|
CfnRuleProps.Builder |
targets(List<Object> targets)
Sets the value of Targets
|
@Stability(value=External) public CfnRuleProps.Builder description(String description)
description - `AWS::Events::Rule.Description`.this@Stability(value=External) public CfnRuleProps.Builder eventBusName(String eventBusName)
eventBusName - `AWS::Events::Rule.EventBusName`.this@Stability(value=External) public CfnRuleProps.Builder eventPattern(Object eventPattern)
eventPattern - `AWS::Events::Rule.EventPattern`.this@Stability(value=External) public CfnRuleProps.Builder name(String name)
name - `AWS::Events::Rule.Name`.this@Stability(value=External) public CfnRuleProps.Builder roleArn(String roleArn)
roleArn - `AWS::Events::Rule.RoleArn`.this@Stability(value=External) public CfnRuleProps.Builder scheduleExpression(String scheduleExpression)
scheduleExpression - `AWS::Events::Rule.ScheduleExpression`.this@Stability(value=External) public CfnRuleProps.Builder state(String state)
state - `AWS::Events::Rule.State`.this@Stability(value=External) public CfnRuleProps.Builder targets(IResolvable targets)
targets - `AWS::Events::Rule.Targets`.this@Stability(value=External) public CfnRuleProps.Builder targets(List<Object> targets)
targets - `AWS::Events::Rule.Targets`.this@Stability(value=External) public CfnRuleProps build()
CfnRulePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.