@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupMetadata extends Object implements Serializable, Cloneable, StructuredPojo
High-level information about a rule group, returned by ListRuleGroups. You can use the information provided in the metadata to retrieve and manage a rule group.
Constructor and Description |
---|
RuleGroupMetadata() |
Modifier and Type | Method and Description |
---|---|
RuleGroupMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the rule group.
|
String |
getName()
The descriptive name of the rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the rule group.
|
void |
setName(String name)
The descriptive name of the rule group.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupMetadata |
withArn(String arn)
The Amazon Resource Name (ARN) of the rule group.
|
RuleGroupMetadata |
withName(String name)
The descriptive name of the rule group.
|
public void setName(String name)
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
name
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.public String getName()
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
public RuleGroupMetadata withName(String name)
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
name
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.public void setArn(String arn)
The Amazon Resource Name (ARN) of the rule group.
arn
- The Amazon Resource Name (ARN) of the rule group.public String getArn()
The Amazon Resource Name (ARN) of the rule group.
public RuleGroupMetadata withArn(String arn)
The Amazon Resource Name (ARN) of the rule group.
arn
- The Amazon Resource Name (ARN) of the rule group.public String toString()
toString
in class Object
Object.toString()
public RuleGroupMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.