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 |
withDescription(String value)
Sets the value of Description
|
CfnRuleProps.Builder |
withEventPattern(com.fasterxml.jackson.databind.node.ObjectNode value)
Sets the value of EventPattern
|
CfnRuleProps.Builder |
withEventPattern(software.amazon.awscdk.Token value)
Sets the value of EventPattern
|
CfnRuleProps.Builder |
withName(String value)
Sets the value of Name
|
CfnRuleProps.Builder |
withRoleArn(String value)
Sets the value of RoleArn
|
CfnRuleProps.Builder |
withScheduleExpression(String value)
Sets the value of ScheduleExpression
|
CfnRuleProps.Builder |
withState(String value)
Sets the value of State
|
CfnRuleProps.Builder |
withTargets(List<Object> value)
Sets the value of Targets
|
CfnRuleProps.Builder |
withTargets(software.amazon.awscdk.Token value)
Sets the value of Targets
|
public CfnRuleProps.Builder withDescription(@Nullable String value)
value - ``AWS::Events::Rule.Description``thispublic CfnRuleProps.Builder withEventPattern(@Nullable com.fasterxml.jackson.databind.node.ObjectNode value)
value - ``AWS::Events::Rule.EventPattern``thispublic CfnRuleProps.Builder withEventPattern(@Nullable software.amazon.awscdk.Token value)
value - ``AWS::Events::Rule.EventPattern``thispublic CfnRuleProps.Builder withName(@Nullable String value)
value - ``AWS::Events::Rule.Name``thispublic CfnRuleProps.Builder withRoleArn(@Nullable String value)
value - ``AWS::Events::Rule.RoleArn``thispublic CfnRuleProps.Builder withScheduleExpression(@Nullable String value)
value - ``AWS::Events::Rule.ScheduleExpression``thispublic CfnRuleProps.Builder withState(@Nullable String value)
value - ``AWS::Events::Rule.State``thispublic CfnRuleProps.Builder withTargets(@Nullable software.amazon.awscdk.Token value)
value - ``AWS::Events::Rule.Targets``thispublic CfnRuleProps.Builder withTargets(@Nullable List<Object> value)
value - ``AWS::Events::Rule.Targets``thispublic CfnRuleProps build()
CfnRulePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.