Class ManagedRuleDescription
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatch.model.ManagedRuleDescription
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ManagedRuleDescription.Builder,ManagedRuleDescription>
@Generated("software.amazon.awssdk:codegen") public final class ManagedRuleDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedRuleDescription.Builder,ManagedRuleDescription>
Contains information about managed Contributor Insights rules, as returned by
ListManagedInsightRules
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ManagedRuleDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedRuleDescription.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
resourceARN()
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.ManagedRuleState
ruleState()
Describes the state of a managed rule.List<SdkField<?>>
sdkFields()
static Class<? extends ManagedRuleDescription.Builder>
serializableBuilderClass()
String
templateName()
The template name for the managed rule.ManagedRuleDescription.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
templateName
public final String templateName()
The template name for the managed rule. Used to enable managed rules using
PutManagedInsightRules
.- Returns:
- The template name for the managed rule. Used to enable managed rules using
PutManagedInsightRules
.
-
resourceARN
public final String resourceARN()
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
- Returns:
- If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
-
ruleState
public final ManagedRuleState ruleState()
Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.
- Returns:
- Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.
-
toBuilder
public ManagedRuleDescription.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ManagedRuleDescription.Builder,ManagedRuleDescription>
-
builder
public static ManagedRuleDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedRuleDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-