public static interface DescribeRuleResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeRuleResponse.Builder,DescribeRuleResponse>
Modifier and Type | Method and Description |
---|---|
DescribeRuleResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the rule.
|
DescribeRuleResponse.Builder |
createdBy(String createdBy)
The account ID of the user that created the rule.
|
DescribeRuleResponse.Builder |
description(String description)
The description of the rule.
|
DescribeRuleResponse.Builder |
eventBusName(String eventBusName)
The name of the event bus associated with the rule.
|
DescribeRuleResponse.Builder |
eventPattern(String eventPattern)
The event pattern.
|
DescribeRuleResponse.Builder |
managedBy(String managedBy)
If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays the
principal name of the Amazon Web Services service that created the rule.
|
DescribeRuleResponse.Builder |
name(String name)
The name of the rule.
|
DescribeRuleResponse.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
|
DescribeRuleResponse.Builder |
scheduleExpression(String scheduleExpression)
The scheduling expression.
|
DescribeRuleResponse.Builder |
state(RuleState state)
Specifies whether the rule is enabled or disabled.
|
DescribeRuleResponse.Builder |
state(String state)
Specifies whether the rule is enabled or disabled.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeRuleResponse.Builder name(String name)
The name of the rule.
name
- The name of the rule.DescribeRuleResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the rule.
arn
- The Amazon Resource Name (ARN) of the rule.DescribeRuleResponse.Builder eventPattern(String eventPattern)
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
eventPattern
- The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.DescribeRuleResponse.Builder scheduleExpression(String scheduleExpression)
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
scheduleExpression
- The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".DescribeRuleResponse.Builder state(String state)
Specifies whether the rule is enabled or disabled.
DescribeRuleResponse.Builder state(RuleState state)
Specifies whether the rule is enabled or disabled.
DescribeRuleResponse.Builder description(String description)
The description of the rule.
description
- The description of the rule.DescribeRuleResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with the rule.DescribeRuleResponse.Builder managedBy(String managedBy)
If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays the principal name of the Amazon Web Services service that created the rule.
managedBy
- If this is a managed rule, created by an Amazon Web Services service on your behalf, this field
displays the principal name of the Amazon Web Services service that created the rule.DescribeRuleResponse.Builder eventBusName(String eventBusName)
The name of the event bus associated with the rule.
eventBusName
- The name of the event bus associated with the rule.DescribeRuleResponse.Builder createdBy(String createdBy)
The account ID of the user that created the rule. If you use PutRule
to put a rule on an event
bus in another account, the other account is the owner of the rule, and the rule ARN includes the account ID
for that account. However, the value for CreatedBy
is the account ID as the account that created
the rule in the other account.
createdBy
- The account ID of the user that created the rule. If you use PutRule
to put a rule on an
event bus in another account, the other account is the owner of the rule, and the rule ARN includes
the account ID for that account. However, the value for CreatedBy
is the account ID as
the account that created the rule in the other account.Copyright © 2022. All rights reserved.