@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchRuleGroup extends Object implements Serializable, Cloneable, StructuredPojo
A set of rules defining the approval rules for a patch baseline.
Constructor and Description |
---|
PatchRuleGroup() |
Modifier and Type | Method and Description |
---|---|
PatchRuleGroup |
clone() |
boolean |
equals(Object obj) |
List<PatchRule> |
getPatchRules()
The rules that make up the rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPatchRules(Collection<PatchRule> patchRules)
The rules that make up the rule group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PatchRuleGroup |
withPatchRules(Collection<PatchRule> patchRules)
The rules that make up the rule group.
|
PatchRuleGroup |
withPatchRules(PatchRule... patchRules)
The rules that make up the rule group.
|
public List<PatchRule> getPatchRules()
The rules that make up the rule group.
public void setPatchRules(Collection<PatchRule> patchRules)
The rules that make up the rule group.
patchRules
- The rules that make up the rule group.public PatchRuleGroup withPatchRules(PatchRule... patchRules)
The rules that make up the rule group.
NOTE: This method appends the values to the existing list (if any). Use
setPatchRules(java.util.Collection)
or withPatchRules(java.util.Collection)
if you want to
override the existing values.
patchRules
- The rules that make up the rule group.public PatchRuleGroup withPatchRules(Collection<PatchRule> patchRules)
The rules that make up the rule group.
patchRules
- The rules that make up the rule group.public String toString()
toString
in class Object
Object.toString()
public PatchRuleGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.