public void setRole(String role) {
        this.role = role;
    }
<p>
The role (field, field total, grand total) of the cell for conditional formatting.
</p>

@param role
       The role (field, field total, grand total) of the cell for conditional formatting.
@see PivotTableConditionalFormattingScopeRole
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PivotTableConditionalFormattingScope.java