ToCopyableBuilder<DescribeRuleResponse.Builder,DescribeRuleResponse>
@Generated("software.amazon.awssdk:codegen") public class DescribeRuleResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<DescribeRuleResponse.Builder,DescribeRuleResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DescribeRuleResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The Amazon Resource Name (ARN) of the rule.
|
static DescribeRuleResponse.Builder |
builder() |
|
String |
description() |
The description of the rule.
|
boolean |
equals(Object obj) |
|
String |
eventPattern() |
The event pattern.
|
int |
hashCode() |
|
String |
name() |
The name of the rule.
|
String |
roleArn() |
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
|
String |
scheduleExpression() |
The scheduling expression.
|
static Class<? extends DescribeRuleResponse.Builder> |
serializableBuilderClass() |
|
String |
state() |
Specifies whether the rule is enabled or disabled.
|
DescribeRuleResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public String name()
The name of the rule.
public String arn()
The Amazon Resource Name (ARN) of the rule.
public String eventPattern()
The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide.
public String scheduleExpression()
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
public String state()
Specifies whether the rule is enabled or disabled.
RuleState
public String description()
The description of the rule.
public String roleArn()
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
public DescribeRuleResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeRuleResponse.Builder,DescribeRuleResponse>
public static DescribeRuleResponse.Builder builder()
public static Class<? extends DescribeRuleResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.