public TypedLinkAttributeDefinition clearRulesEntries() {
        this.rules = null;
        return this;
    }
Removes all the entries added into Rules.

@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/TypedLinkAttributeDefinition.java