public void setRuleGroupTypePairs(java.util.Collection<RuleGroupTypePair> ruleGroupTypePairs) {
        if (ruleGroupTypePairs == null) {
            this.ruleGroupTypePairs = null;
            return;
        }

        this.ruleGroupTypePairs = new com.amazonaws.internal.SdkInternalList<RuleGroupTypePair>(ruleGroupTypePairs);
    }
<p>
The rule group type.
</p>

@param ruleGroupTypePairs
       The rule group type.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/AdditionalDetail.java