CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
, SdkBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
public static interface CreateRuleRequest.Builder extends CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateRuleRequest.Builder |
changeToken(String changeToken) |
The value returned by the most recent call to GetChangeToken.
|
CreateRuleRequest.Builder |
metricName(String metricName) |
A friendly name or description for the metrics for this
Rule . |
CreateRuleRequest.Builder |
name(String name) |
A friendly name or description of the Rule.
|
copy
apply, build
CreateRuleRequest.Builder name(String name)
A friendly name or description of the Rule. You can't change the name of a Rule
after you
create it.
name
- A friendly name or description of the Rule. You can't change the name of a Rule
after you create it.CreateRuleRequest.Builder metricName(String metricName)
A friendly name or description for the metrics for this Rule
. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the
metric after you create the Rule
.
metricName
- A friendly name or description for the metrics for this Rule
. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name
of the metric after you create the Rule
.CreateRuleRequest.Builder changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken
- The value returned by the most recent call to GetChangeToken.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.