@Generated(value="software.amazon.awssdk:codegen") public final class PutInsightRuleRequest extends CloudWatchRequest implements ToCopyableBuilder<PutInsightRuleRequest.Builder,PutInsightRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutInsightRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutInsightRuleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ruleDefinition()
The definition of the rule, as a JSON object.
|
String |
ruleName()
A unique name for the rule.
|
String |
ruleState()
The state of the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutInsightRuleRequest.Builder> |
serializableBuilderClass() |
PutInsightRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String ruleName()
A unique name for the rule.
public String ruleState()
The state of the rule. Valid values are ENABLED and DISABLED.
public String ruleDefinition()
The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.
public PutInsightRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutInsightRuleRequest.Builder,PutInsightRuleRequest>toBuilder in class CloudWatchRequestpublic static PutInsightRuleRequest.Builder builder()
public static Class<? extends PutInsightRuleRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.