public ClusterRole build() {
            final var _resultValue = new ClusterRole();
            _resultValue.aggregationRule = aggregationRule;
            _resultValue.apiVersion = apiVersion;
            _resultValue.kind = kind;
            _resultValue.metadata = metadata;
            _resultValue.rules = rules;
            return _resultValue;
        }
@return Rules holds all the PolicyRules for this ClusterRole
sdk/java/src/main/java/com/pulumi/kubernetes/rbac/v1alpha1/outputs/ClusterRole.java