public java.util.Map<String, Rule> getRules() {
        return rules;
    }
<p>
Validation rules that are attached to the attribute definition.
</p>

@return Validation rules that are attached to the attribute definition.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/TypedLinkAttributeDefinition.java